home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 16 / IOPROG_16.ISO / soft / macaxsdk / macsdk.hqx / ActiveX DR3 SDK / ActiveX SDK / Sample Containers / SimpleContainer / ObjectInfoWin.c < prev    next >
MacBinary  |  1997-08-04  |  16.6 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Mon Aug 4 16:45:17 1997, modified Mon Aug 4 16:45:17 1997, creator 'CWIE', type ASCII, 16258 bytes "ObjectInfoWin.c" , at 0x4002 428 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0f 4f 62 6a 65 63 74 | 49 6e 66 6f 57 69 6e 2e |..Object|InfoWin.|
|00000010| 63 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |c.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 3f 82 00 | 00 01 ac b0 0b ef dd b0 |.....?..|........|
|00000060| 0b ef dd 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f2 00 00 00 |........|........|
|00000080| 2f 2f 0d 2f 2f 09 45 76 | 65 6e 74 73 2e 63 70 70 |//.//.Ev|ents.cpp|
|00000090| 0d 2f 2f 0d 2f 2f 20 3e | 3e 3e 20 a9 20 31 39 39 |.//.// >|>> . 199|
|000000a0| 36 2d 31 39 39 37 20 4d | 69 63 72 6f 73 6f 66 74 |6-1997 M|icrosoft|
|000000b0| 20 43 6f 72 70 6f 72 61 | 74 69 6f 6e 2e 20 20 41 | Corpora|tion. A|
|000000c0| 6c 6c 20 72 69 67 68 74 | 73 20 72 65 73 65 72 76 |ll right|s reserv|
|000000d0| 65 64 2e 20 3c 3c 3c 0d | 2f 2f 0d 0d 23 69 6e 63 |ed. <<<.|//..#inc|
|000000e0| 6c 75 64 65 20 3c 41 58 | 54 79 70 65 73 2e 68 3e |lude <AX|Types.h>|
|000000f0| 0d 23 69 6e 63 6c 75 64 | 65 20 22 41 63 74 69 76 |.#includ|e "Activ|
|00000100| 65 58 41 50 49 2e 68 22 | 0d 23 69 6e 63 6c 75 64 |eXAPI.h"|.#includ|
|00000110| 65 20 22 49 6e 66 6f 41 | 50 49 2e 68 22 0d 23 69 |e "InfoA|PI.h".#i|
|00000120| 6e 63 6c 75 64 65 20 22 | 53 63 72 69 70 74 69 6e |nclude "|Scriptin|
|00000130| 67 41 50 49 2e 68 22 0d | 23 69 6e 63 6c 75 64 65 |gAPI.h".|#include|
|00000140| 20 22 4f 62 6a 65 63 74 | 49 6e 66 6f 57 69 6e 2e | "Object|InfoWin.|
|00000150| 68 22 0d 23 69 6e 63 6c | 75 64 65 20 22 55 74 69 |h".#incl|ude "Uti|
|00000160| 6c 2e 68 22 0d 0d 2f 2f | 20 53 74 72 69 6e 67 20 |l.h"..//| String |
|00000170| 74 79 70 65 20 66 6f 72 | 20 68 6f 6c 64 69 6e 67 |type for| holding|
|00000180| 20 6c 61 62 65 6c 73 0d | 74 79 70 65 64 65 66 20 | labels.|typedef |
|00000190| 63 68 61 72 20 74 4c 61 | 62 65 6c 53 74 72 5b 33 |char tLa|belStr[3|
|000001a0| 32 5d 3b 0d 0d 2f 2f 20 | 73 74 72 75 63 74 75 72 |2];..// |structur|
|000001b0| 65 20 66 6f 72 20 63 6f | 6e 74 61 69 6e 69 6e 67 |e for co|ntaining|
|000001c0| 20 49 6e 66 6f 20 57 69 | 6e 64 6f 77 20 73 74 75 | Info Wi|ndow stu|
|000001d0| 66 66 0d 74 79 70 65 64 | 65 66 20 73 74 72 75 63 |ff.typed|ef struc|
|000001e0| 74 0d 7b 0d 09 41 58 52 | 65 66 49 44 09 09 09 53 |t.{..AXR|efID...S|
|000001f0| 69 74 65 49 44 3b 0d 09 | 49 6e 74 31 36 09 09 09 |iteID;..|Int16...|
|00000200| 4e 75 6d 4d 65 74 68 6f | 64 73 3b 0d 09 41 58 4d |NumMetho|ds;..AXM|
|00000210| 65 74 68 6f 64 44 65 73 | 63 2a 09 4d 65 74 68 6f |ethodDes|c*.Metho|
|00000220| 64 73 3b 0d 09 0d 09 57 | 69 6e 64 6f 77 50 74 72 |ds;....W|indowPtr|
|00000230| 09 57 69 6e 64 6f 77 3b | 0d 09 52 65 63 74 09 09 |.Window;|..Rect..|
|00000240| 49 6e 66 6f 50 61 6e 65 | 2c 0d 09 09 09 09 55 73 |InfoPane|,.....Us|
|00000250| 65 72 4e 61 6d 65 4c 61 | 62 65 6c 50 61 6e 65 2c |erNameLa|belPane,|
|00000260| 0d 09 09 09 09 55 73 65 | 72 4e 61 6d 65 50 61 6e |.....Use|rNamePan|
|00000270| 65 2c 0d 09 09 09 09 43 | 6c 61 73 73 49 44 4c 61 |e,.....C|lassIDLa|
|00000280| 62 65 6c 50 61 6e 65 2c | 0d 09 09 09 09 43 6c 61 |belPane,|.....Cla|
|00000290| 73 73 49 44 50 61 6e 65 | 2c 0d 09 09 09 09 46 72 |ssIDPane|,.....Fr|
|000002a0| 61 67 4e 61 6d 65 4c 61 | 62 65 6c 50 61 6e 65 2c |agNameLa|belPane,|
|000002b0| 0d 09 09 09 09 46 72 61 | 67 4e 61 6d 65 50 61 6e |.....Fra|gNamePan|
|000002c0| 65 2c 0d 09 09 09 09 50 | 72 6f 67 49 44 4c 61 62 |e,.....P|rogIDLab|
|000002d0| 65 6c 50 61 6e 65 2c 0d | 09 09 09 09 50 72 6f 67 |elPane,.|....Prog|
|000002e0| 49 44 50 61 6e 65 2c 0d | 09 09 09 09 48 65 69 67 |IDPane,.|....Heig|
|000002f0| 68 74 4c 61 62 65 6c 50 | 61 6e 65 2c 0d 09 09 09 |htLabelP|ane,....|
|00000300| 09 48 65 69 67 68 74 50 | 61 6e 65 2c 0d 09 09 09 |.HeightP|ane,....|
|00000310| 09 57 69 64 74 68 4c 61 | 62 65 6c 50 61 6e 65 2c |.WidthLa|belPane,|
|00000320| 0d 09 09 09 09 57 69 64 | 74 68 50 61 6e 65 3b 0d |.....Wid|thPane;.|
|00000330| 09 52 65 63 74 09 09 48 | 65 61 64 65 72 50 61 6e |.Rect..H|eaderPan|
|00000340| 65 2c 0d 09 09 09 09 50 | 61 72 61 6d 50 61 6e 65 |e,.....P|aramPane|
|00000350| 2c 0d 09 09 09 09 54 79 | 70 65 50 61 6e 65 2c 0d |,.....Ty|pePane,.|
|00000360| 09 09 09 09 44 69 73 70 | 49 44 50 61 6e 65 2c 0d |....Disp|IDPane,.|
|00000370| 09 09 09 09 52 65 74 75 | 72 6e 54 79 70 65 50 61 |....Retu|rnTypePa|
|00000380| 6e 65 2c 0d 09 09 09 09 | 50 61 72 61 6d 4c 61 62 |ne,.....|ParamLab|
|00000390| 65 6c 50 61 6e 65 2c 0d | 09 09 09 09 54 79 70 65 |elPane,.|....Type|
|000003a0| 4c 61 62 65 6c 50 61 6e | 65 2c 0d 09 09 09 09 44 |LabelPan|e,.....D|
|000003b0| 69 73 70 49 44 4c 61 62 | 65 6c 50 61 6e 65 2c 0d |ispIDLab|elPane,.|
|000003c0| 09 09 09 09 52 65 74 75 | 72 6e 54 79 70 65 4c 61 |....Retu|rnTypeLa|
|000003d0| 62 65 6c 50 61 6e 65 3b | 0d 09 52 65 63 74 09 09 |belPane;|..Rect..|
|000003e0| 44 65 73 63 50 61 6e 65 | 3b 0d 09 0d 09 74 4c 61 |DescPane|;....tLa|
|000003f0| 62 65 6c 53 74 72 09 09 | 55 73 65 72 4e 61 6d 65 |belStr..|UserName|
|00000400| 4c 61 62 65 6c 3b 0d 09 | 74 4c 61 62 65 6c 53 74 |Label;..|tLabelSt|
|00000410| 72 09 09 43 6c 61 73 73 | 49 44 4c 61 62 65 6c 3b |r..Class|IDLabel;|
|00000420| 0d 09 74 4c 61 62 65 6c | 53 74 72 09 09 46 72 61 |..tLabel|Str..Fra|
|00000430| 67 4e 61 6d 65 4c 61 62 | 65 6c 3b 0d 09 74 4c 61 |gNameLab|el;..tLa|
|00000440| 62 65 6c 53 74 72 09 09 | 50 72 6f 67 49 44 4c 61 |belStr..|ProgIDLa|
|00000450| 62 65 6c 3b 0d 09 74 4c | 61 62 65 6c 53 74 72 09 |bel;..tL|abelStr.|
|00000460| 09 48 65 69 67 68 74 4c | 61 62 65 6c 3b 0d 09 74 |.HeightL|abel;..t|
|00000470| 4c 61 62 65 6c 53 74 72 | 09 09 57 69 64 74 68 4c |LabelStr|..WidthL|
|00000480| 61 62 65 6c 3b 0d 09 74 | 4c 61 62 65 6c 53 74 72 |abel;..t|LabelStr|
|00000490| 09 09 50 61 72 61 6d 4c | 61 62 65 6c 3b 0d 09 74 |..ParamL|abel;..t|
|000004a0| 4c 61 62 65 6c 53 74 72 | 09 09 54 79 70 65 4c 61 |LabelStr|..TypeLa|
|000004b0| 62 65 6c 3b 0d 09 74 4c | 61 62 65 6c 53 74 72 09 |bel;..tL|abelStr.|
|000004c0| 09 44 69 73 70 49 44 4c | 61 62 65 6c 3b 0d 09 74 |.DispIDL|abel;..t|
|000004d0| 4c 61 62 65 6c 53 74 72 | 09 09 52 65 74 75 72 6e |LabelStr|..Return|
|000004e0| 54 79 70 65 4c 61 62 65 | 6c 3b 0d 09 0d 09 74 4c |TypeLabe|l;....tL|
|000004f0| 61 62 65 6c 53 74 72 09 | 09 50 72 6f 70 4c 61 62 |abelStr.|.PropLab|
|00000500| 65 6c 3b 0d 7d 0d 73 49 | 6e 66 6f 57 69 6e 64 6f |el;.}.sI|nfoWindo|
|00000510| 77 3b 0d 0d 2f 2f 20 4f | 6e 6c 79 20 6f 6e 65 20 |w;..// O|nly one |
|00000520| 77 69 6e 64 6f 77 20 66 | 6f 72 20 6e 6f 77 0d 73 |window f|or now.s|
|00000530| 49 6e 66 6f 57 69 6e 64 | 6f 77 20 49 6e 66 6f 57 |InfoWind|ow InfoW|
|00000540| 69 6e 3b 09 0d 57 69 6e | 64 6f 77 50 74 72 20 67 |in;..Win|dowPtr g|
|00000550| 49 6e 66 6f 57 69 6e 64 | 6f 77 3b 0d 0d 63 6f 6e |InfoWind|ow;..con|
|00000560| 73 74 20 49 6e 74 31 36 | 20 6b 49 6e 64 65 6e 74 |st Int16| kIndent|
|00000570| 20 3d 20 31 30 3b 0d 0d | 0d 2f 2f 20 53 74 61 74 | = 10;..|.// Stat|
|00000580| 69 63 20 70 72 6f 74 6f | 74 79 70 65 73 0d 73 74 |ic proto|types.st|
|00000590| 61 74 69 63 20 76 6f 69 | 64 20 09 44 72 61 77 44 |atic voi|d .DrawD|
|000005a0| 69 73 70 49 44 28 44 49 | 53 50 49 44 20 69 6e 44 |ispID(DI|SPID inD|
|000005b0| 69 73 70 49 44 2c 20 52 | 65 63 74 2a 20 69 6f 52 |ispID, R|ect* ioR|
|000005c0| 65 63 74 29 3b 0d 73 74 | 61 74 69 63 20 76 6f 69 |ect);.st|atic voi|
|000005d0| 64 20 09 44 72 61 77 49 | 6e 66 6f 44 61 74 61 28 |d .DrawI|nfoData(|
|000005e0| 73 49 6e 66 6f 57 69 6e | 64 6f 77 2a 20 69 6e 49 |sInfoWin|dow* inI|
|000005f0| 6e 66 6f 57 69 6e 29 3b | 0d 73 74 61 74 69 63 20 |nfoWin);|.static |
|00000600| 76 6f 69 64 20 09 44 72 | 61 77 49 6e 66 6f 4c 61 |void .Dr|awInfoLa|
|00000610| 62 65 6c 73 28 73 49 6e | 66 6f 57 69 6e 64 6f 77 |bels(sIn|foWindow|
|00000620| 2a 20 69 6e 49 6e 66 6f | 57 69 6e 29 3b 0d 73 74 |* inInfo|Win);.st|
|00000630| 61 74 69 63 20 76 6f 69 | 64 20 09 44 72 61 77 4d |atic voi|d .DrawM|
|00000640| 65 74 68 6f 64 73 28 73 | 49 6e 66 6f 57 69 6e 64 |ethods(s|InfoWind|
|00000650| 6f 77 2a 20 69 6e 49 6e | 66 6f 57 69 6e 29 3b 0d |ow* inIn|foWin);.|
|00000660| 73 74 61 74 69 63 20 76 | 6f 69 64 20 09 44 72 61 |static v|oid .Dra|
|00000670| 77 4f 62 6a 65 63 74 49 | 6e 66 6f 28 73 49 6e 66 |wObjectI|nfo(sInf|
|00000680| 6f 57 69 6e 64 6f 77 2a | 20 69 6e 49 6e 66 6f 57 |oWindow*| inInfoW|
|00000690| 69 6e 29 3b 0d 73 74 61 | 74 69 63 20 76 6f 69 64 |in);.sta|tic void|
|000006a0| 20 09 44 72 61 77 50 61 | 72 61 6d 4e 61 6d 65 28 | .DrawPa|ramName(|
|000006b0| 53 74 72 32 35 35 20 69 | 6e 4e 61 6d 65 2c 20 52 |Str255 i|nName, R|
|000006c0| 65 63 74 2a 20 69 6f 52 | 65 63 74 29 3b 0d 73 74 |ect* ioR|ect);.st|
|000006d0| 61 74 69 63 20 42 6f 6f | 6c 65 61 6e 20 09 44 72 |atic Boo|lean .Dr|
|000006e0| 61 77 54 69 74 6c 65 28 | 63 68 61 72 2a 20 69 6e |awTitle(|char* in|
|000006f0| 54 69 74 6c 65 2c 20 52 | 65 63 74 2a 20 69 6f 52 |Title, R|ect* ioR|
|00000700| 65 63 74 29 3b 0d 73 74 | 61 74 69 63 20 76 6f 69 |ect);.st|atic voi|
|00000710| 64 20 09 44 72 61 77 54 | 79 70 65 28 56 41 52 54 |d .DrawT|ype(VART|
|00000720| 59 50 45 20 69 6e 54 79 | 70 65 2c 20 52 65 63 74 |YPE inTy|pe, Rect|
|00000730| 2a 20 69 6f 52 65 63 74 | 29 3b 0d 73 74 61 74 69 |* ioRect|);.stati|
|00000740| 63 20 76 6f 69 64 20 09 | 49 6e 69 74 57 69 6e 64 |c void .|InitWind|
|00000750| 6f 77 44 61 74 61 28 41 | 58 52 65 66 49 44 20 69 |owData(A|XRefID i|
|00000760| 6e 53 69 74 65 49 44 29 | 3b 0d 73 74 61 74 69 63 |nSiteID)|;.static|
|00000770| 20 76 6f 69 64 20 09 49 | 6e 69 74 57 69 6e 64 6f | void .I|nitWindo|
|00000780| 77 50 61 6e 65 73 28 76 | 6f 69 64 29 3b 0d 73 74 |wPanes(v|oid);.st|
|00000790| 61 74 69 63 20 76 6f 69 | 64 20 09 53 65 74 49 6e |atic voi|d .SetIn|
|000007a0| 66 6f 4e 61 6d 65 28 73 | 49 6e 66 6f 57 69 6e 64 |foName(s|InfoWind|
|000007b0| 6f 77 2a 20 49 6e 66 6f | 57 69 6e 50 29 3b 0d 0d |ow* Info|WinP);..|
|000007c0| 0d 2f 2f 0d 2f 2f 09 4f | 70 65 6e 49 6e 66 6f 57 |.//.//.O|penInfoW|
|000007d0| 69 6e 64 6f 77 20 0d 2f | 2f 0d 76 6f 69 64 20 4f |indow ./|/.void O|
|000007e0| 70 65 6e 49 6e 66 6f 57 | 69 6e 64 6f 77 28 41 58 |penInfoW|indow(AX|
|000007f0| 52 65 66 49 44 20 69 6e | 53 69 74 65 49 44 29 0d |RefID in|SiteID).|
|00000800| 7b 0d 09 2f 2f 20 49 6e | 69 74 69 61 6c 69 7a 65 |{..// In|itialize|
|00000810| 20 74 68 65 20 52 65 63 | 74 73 20 77 65 27 6c 6c | the Rec|ts we'll|
|00000820| 20 6e 65 65 64 0d 09 67 | 49 6e 66 6f 57 69 6e 64 | need..g|InfoWind|
|00000830| 6f 77 20 3d 20 47 65 74 | 4e 65 77 43 57 69 6e 64 |ow = Get|NewCWind|
|00000840| 6f 77 28 31 32 39 2c 20 | 4e 55 4c 4c 2c 20 28 57 |ow(129, |NULL, (W|
|00000850| 69 6e 64 6f 77 50 74 72 | 29 20 2d 31 29 3b 0d 09 |indowPtr|) -1);..|
|00000860| 0d 09 69 66 20 28 20 21 | 67 49 6e 66 6f 57 69 6e |..if ( !|gInfoWin|
|00000870| 64 6f 77 20 29 0d 09 09 | 72 65 74 75 72 6e 3b 0d |dow )...|return;.|
|00000880| 09 09 0d 09 2f 2f 20 46 | 6f 72 20 6e 6f 77 20 77 |....// F|or now w|
|00000890| 65 20 6f 6e 6c 79 20 68 | 61 76 65 20 6f 6e 65 20 |e only h|ave one |
|000008a0| 6f 66 20 74 68 65 73 65 | 20 77 69 6e 64 6f 77 73 |of these| windows|
|000008b0| 0d 09 53 65 74 57 52 65 | 66 43 6f 6e 28 67 49 6e |..SetWRe|fCon(gIn|
|000008c0| 66 6f 57 69 6e 64 6f 77 | 2c 20 28 6c 6f 6e 67 29 |foWindow|, (long)|
|000008d0| 20 26 49 6e 66 6f 57 69 | 6e 29 3b 0d 09 49 6e 66 | &InfoWi|n);..Inf|
|000008e0| 6f 57 69 6e 2e 57 69 6e | 64 6f 77 20 3d 20 67 49 |oWin.Win|dow = gI|
|000008f0| 6e 66 6f 57 69 6e 64 6f | 77 3b 0d 09 0d 09 2f 2f |nfoWindo|w;....//|
|00000900| 20 53 65 74 20 74 68 65 | 20 53 69 74 65 20 49 44 | Set the| Site ID|
|00000910| 0d 09 49 6e 66 6f 57 69 | 6e 2e 53 69 74 65 49 44 |..InfoWi|n.SiteID|
|00000920| 20 3d 20 69 6e 53 69 74 | 65 49 44 3b 0d 09 0d 09 | = inSit|eID;....|
|00000930| 53 65 74 49 6e 66 6f 4e | 61 6d 65 28 26 49 6e 66 |SetInfoN|ame(&Inf|
|00000940| 6f 57 69 6e 29 3b 0d 0d | 09 53 65 74 50 6f 72 74 |oWin);..|.SetPort|
|00000950| 28 67 49 6e 66 6f 57 69 | 6e 64 6f 77 29 3b 0d 0d |(gInfoWi|ndow);..|
|00000960| 09 49 6e 69 74 57 69 6e | 64 6f 77 50 61 6e 65 73 |.InitWin|dowPanes|
|00000970| 28 29 3b 0d 09 0d 09 49 | 6e 69 74 57 69 6e 64 6f |();....I|nitWindo|
|00000980| 77 44 61 74 61 28 69 6e | 53 69 74 65 49 44 29 3b |wData(in|SiteID);|
|00000990| 0d 09 0d 7d 0d 0d 2f 2f | 0d 2f 2f 09 49 6e 69 74 |...}..//|.//.Init|
|000009a0| 57 69 6e 64 6f 77 50 61 | 6e 65 73 20 0d 2f 2f 0d |WindowPa|nes .//.|
|000009b0| 76 6f 69 64 20 49 6e 69 | 74 57 69 6e 64 6f 77 50 |void Ini|tWindowP|
|000009c0| 61 6e 65 73 28 76 6f 69 | 64 29 0d 7b 0d 09 2f 2f |anes(voi|d).{..//|
|000009d0| 20 49 6e 66 6f 50 61 6e | 65 20 61 6e 64 20 73 75 | InfoPan|e and su|
|000009e0| 62 70 61 6e 65 73 0d 09 | 53 65 74 52 65 63 74 28 |bpanes..|SetRect(|
|000009f0| 26 49 6e 66 6f 57 69 6e | 2e 49 6e 66 6f 50 61 6e |&InfoWin|.InfoPan|
|00000a00| 65 2c 20 30 2c 20 30 2c | 20 67 49 6e 66 6f 57 69 |e, 0, 0,| gInfoWi|
|00000a10| 6e 64 6f 77 2d 3e 70 6f | 72 74 52 65 63 74 2e 72 |ndow->po|rtRect.r|
|00000a20| 69 67 68 74 2c 20 34 38 | 29 3b 0d 09 0d 09 53 65 |ight, 48|);....Se|
|00000a30| 74 52 65 63 74 28 26 49 | 6e 66 6f 57 69 6e 2e 55 |tRect(&I|nfoWin.U|
|00000a40| 73 65 72 4e 61 6d 65 4c | 61 62 65 6c 50 61 6e 65 |serNameL|abelPane|
|00000a50| 2c 20 30 2c 20 30 2c 20 | 39 34 2c 20 31 36 29 3b |, 0, 0, |94, 16);|
|00000a60| 0d 09 53 65 74 52 65 63 | 74 28 26 49 6e 66 6f 57 |..SetRec|t(&InfoW|
|00000a70| 69 6e 2e 55 73 65 72 4e | 61 6d 65 50 61 6e 65 2c |in.UserN|amePane,|
|00000a80| 20 39 35 2c 20 30 2c 20 | 32 33 30 2c 20 31 36 29 | 95, 0, |230, 16)|
|00000a90| 3b 0d 09 73 74 72 63 70 | 79 28 49 6e 66 6f 57 69 |;..strcp|y(InfoWi|
|00000aa0| 6e 2e 55 73 65 72 4e 61 | 6d 65 4c 61 62 65 6c 2c |n.UserNa|meLabel,|
|00000ab0| 20 22 55 73 65 72 20 4e | 61 6d 65 3a 22 29 3b 0d | "User N|ame:");.|
|00000ac0| 09 53 65 74 52 65 63 74 | 28 26 49 6e 66 6f 57 69 |.SetRect|(&InfoWi|
|00000ad0| 6e 2e 43 6c 61 73 73 49 | 44 4c 61 62 65 6c 50 61 |n.ClassI|DLabelPa|
|00000ae0| 6e 65 2c 20 32 33 32 2c | 20 30 2c 20 32 38 31 2c |ne, 232,| 0, 281,|
|00000af0| 20 31 36 29 3b 0d 09 53 | 65 74 52 65 63 74 28 26 | 16);..S|etRect(&|
|00000b00| 49 6e 66 6f 57 69 6e 2e | 43 6c 61 73 73 49 44 50 |InfoWin.|ClassIDP|
|00000b10| 61 6e 65 2c 20 32 38 32 | 2c 20 30 2c 20 67 49 6e |ane, 282|, 0, gIn|
|00000b20| 66 6f 57 69 6e 64 6f 77 | 2d 3e 70 6f 72 74 52 65 |foWindow|->portRe|
|00000b30| 63 74 2e 72 69 67 68 74 | 2c 20 31 36 29 3b 0d 09 |ct.right|, 16);..|
|00000b40| 73 74 72 63 70 79 28 49 | 6e 66 6f 57 69 6e 2e 43 |strcpy(I|nfoWin.C|
|00000b50| 6c 61 73 73 49 44 4c 61 | 62 65 6c 2c 20 22 43 6c |lassIDLa|bel, "Cl|
|00000b60| 61 73 73 49 44 3a 22 29 | 3b 0d 09 0d 09 53 65 74 |assID:")|;....Set|
|00000b70| 52 65 63 74 28 26 49 6e | 66 6f 57 69 6e 2e 46 72 |Rect(&In|foWin.Fr|
|00000b80| 61 67 4e 61 6d 65 4c 61 | 62 65 6c 50 61 6e 65 2c |agNameLa|belPane,|
|00000b90| 20 30 2c 20 31 36 2c 20 | 39 34 2c 20 33 32 29 3b | 0, 16, |94, 32);|
|00000ba0| 0d 09 53 65 74 52 65 63 | 74 28 26 49 6e 66 6f 57 |..SetRec|t(&InfoW|
|00000bb0| 69 6e 2e 46 72 61 67 4e | 61 6d 65 50 61 6e 65 2c |in.FragN|amePane,|
|00000bc0| 20 39 35 2c 20 31 36 2c | 20 32 33 30 2c 20 33 32 | 95, 16,| 230, 32|
|00000bd0| 29 3b 0d 09 73 74 72 63 | 70 79 28 49 6e 66 6f 57 |);..strc|py(InfoW|
|00000be0| 69 6e 2e 46 72 61 67 4e | 61 6d 65 4c 61 62 65 6c |in.FragN|ameLabel|
|00000bf0| 2c 20 22 46 72 61 67 6d | 65 6e 74 20 4e 61 6d 65 |, "Fragm|ent Name|
|00000c00| 3a 22 29 3b 0d 09 53 65 | 74 52 65 63 74 28 26 49 |:");..Se|tRect(&I|
|00000c10| 6e 66 6f 57 69 6e 2e 50 | 72 6f 67 49 44 4c 61 62 |nfoWin.P|rogIDLab|
|00000c20| 65 6c 50 61 6e 65 2c 20 | 32 33 32 2c 20 31 36 2c |elPane, |232, 16,|
|00000c30| 20 32 38 31 2c 20 33 32 | 29 3b 0d 09 53 65 74 52 | 281, 32|);..SetR|
|00000c40| 65 63 74 28 26 49 6e 66 | 6f 57 69 6e 2e 50 72 6f |ect(&Inf|oWin.Pro|
|00000c50| 67 49 44 50 61 6e 65 2c | 20 32 38 32 2c 20 31 36 |gIDPane,| 282, 16|
|00000c60| 2c 20 67 49 6e 66 6f 57 | 69 6e 64 6f 77 2d 3e 70 |, gInfoW|indow->p|
|00000c70| 6f 72 74 52 65 63 74 2e | 72 69 67 68 74 2c 20 33 |ortRect.|right, 3|
|00000c80| 32 29 3b 0d 09 73 74 72 | 63 70 79 28 49 6e 66 6f |2);..str|cpy(Info|
|00000c90| 57 69 6e 2e 50 72 6f 67 | 49 44 4c 61 62 65 6c 2c |Win.Prog|IDLabel,|
|00000ca0| 20 22 50 72 6f 67 20 49 | 44 3a 22 29 3b 0d 09 0d | "Prog I|D:");...|
|00000cb0| 09 53 65 74 52 65 63 74 | 28 26 49 6e 66 6f 57 69 |.SetRect|(&InfoWi|
|00000cc0| 6e 2e 48 65 69 67 68 74 | 4c 61 62 65 6c 50 61 6e |n.Height|LabelPan|
|00000cd0| 65 2c 20 30 2c 20 33 32 | 2c 20 39 34 2c 20 34 38 |e, 0, 32|, 94, 48|
|00000ce0| 29 3b 0d 09 53 65 74 52 | 65 63 74 28 26 49 6e 66 |);..SetR|ect(&Inf|
|00000cf0| 6f 57 69 6e 2e 48 65 69 | 67 68 74 50 61 6e 65 2c |oWin.Hei|ghtPane,|
|00000d00| 20 39 35 2c 20 33 32 2c | 20 31 33 31 2c 20 34 38 | 95, 32,| 131, 48|
|00000d10| 29 3b 0d 09 73 74 72 63 | 70 79 28 49 6e 66 6f 57 |);..strc|py(InfoW|
|00000d20| 69 6e 2e 48 65 69 67 68 | 74 4c 61 62 65 6c 2c 20 |in.Heigh|tLabel, |
|00000d30| 22 44 65 66 61 75 6c 74 | 20 48 65 69 67 68 74 3a |"Default| Height:|
|00000d40| 22 29 3b 0d 09 53 65 74 | 52 65 63 74 28 26 49 6e |");..Set|Rect(&In|
|00000d50| 66 6f 57 69 6e 2e 57 69 | 64 74 68 4c 61 62 65 6c |foWin.Wi|dthLabel|
|00000d60| 50 61 6e 65 2c 20 31 39 | 39 2c 20 33 32 2c 20 32 |Pane, 19|9, 32, 2|
|00000d70| 38 31 2c 20 34 38 29 3b | 0d 09 53 65 74 52 65 63 |81, 48);|..SetRec|
|00000d80| 74 28 26 49 6e 66 6f 57 | 69 6e 2e 57 69 64 74 68 |t(&InfoW|in.Width|
|00000d90| 50 61 6e 65 2c 20 32 38 | 32 2c 20 33 32 2c 20 33 |Pane, 28|2, 32, 3|
|00000da0| 31 38 2c 20 34 38 29 3b | 0d 09 73 74 72 63 70 79 |18, 48);|..strcpy|
|00000db0| 28 49 6e 66 6f 57 69 6e | 2e 57 69 64 74 68 4c 61 |(InfoWin|.WidthLa|
|00000dc0| 62 65 6c 2c 20 22 44 65 | 66 61 75 6c 74 20 57 69 |bel, "De|fault Wi|
|00000dd0| 64 74 68 3a 22 29 3b 0d | 09 0d 09 2f 2f 20 48 65 |dth:");.|...// He|
|00000de0| 61 64 65 72 20 70 61 6e | 65 20 61 6e 64 20 73 75 |ader pan|e and su|
|00000df0| 62 70 61 6e 65 73 0d 09 | 53 65 74 52 65 63 74 28 |bpanes..|SetRect(|
|00000e00| 26 49 6e 66 6f 57 69 6e | 2e 48 65 61 64 65 72 50 |&InfoWin|.HeaderP|
|00000e10| 61 6e 65 2c 20 30 2c 20 | 34 38 2c 20 67 49 6e 66 |ane, 0, |48, gInf|
|00000e20| 6f 57 69 6e 64 6f 77 2d | 3e 70 6f 72 74 52 65 63 |oWindow-|>portRec|
|00000e30| 74 2e 72 69 67 68 74 2c | 20 36 34 29 3b 0d 09 0d |t.right,| 64);...|
|00000e40| 09 53 65 74 52 65 63 74 | 28 26 49 6e 66 6f 57 69 |.SetRect|(&InfoWi|
|00000e50| 6e 2e 50 61 72 61 6d 50 | 61 6e 65 2c 20 31 30 30 |n.ParamP|ane, 100|
|00000e60| 2c 20 34 38 2c 20 32 30 | 30 2c 20 36 34 29 3b 0d |, 48, 20|0, 64);.|
|00000e70| 09 53 65 74 52 65 63 74 | 28 26 49 6e 66 6f 57 69 |.SetRect|(&InfoWi|
|00000e80| 6e 2e 50 61 72 61 6d 4c | 61 62 65 6c 50 61 6e 65 |n.ParamL|abelPane|
|00000e90| 2c 20 31 30 30 2c 20 34 | 38 2c 20 32 30 30 2c 20 |, 100, 4|8, 200, |
|00000ea0| 36 34 29 3b 0d 09 49 6e | 66 6f 57 69 6e 2e 50 61 |64);..In|foWin.Pa|
|00000eb0| 72 61 6d 4c 61 62 65 6c | 50 61 6e 65 2e 6c 65 66 |ramLabel|Pane.lef|
|00000ec0| 74 20 2b 3d 20 6b 49 6e | 64 65 6e 74 3b 0d 09 73 |t += kIn|dent;..s|
|00000ed0| 74 72 63 70 79 28 49 6e | 66 6f 57 69 6e 2e 50 61 |trcpy(In|foWin.Pa|
|00000ee0| 72 61 6d 4c 61 62 65 6c | 2c 20 22 56 61 6c 75 65 |ramLabel|, "Value|
|00000ef0| 2f 50 61 72 61 6d 22 29 | 3b 0d 09 0d 09 53 65 74 |/Param")|;....Set|
|00000f00| 52 65 63 74 28 26 49 6e | 66 6f 57 69 6e 2e 54 79 |Rect(&In|foWin.Ty|
|00000f10| 70 65 50 61 6e 65 2c 20 | 32 30 30 2c 20 34 38 2c |pePane, |200, 48,|
|00000f20| 20 33 30 30 2c 20 36 34 | 29 3b 0d 09 53 65 74 52 | 300, 64|);..SetR|
|00000f30| 65 63 74 28 26 49 6e 66 | 6f 57 69 6e 2e 54 79 70 |ect(&Inf|oWin.Typ|
|00000f40| 65 4c 61 62 65 6c 50 61 | 6e 65 2c 20 32 30 30 2c |eLabelPa|ne, 200,|
|00000f50| 20 34 38 2c 20 33 30 30 | 2c 20 36 34 29 3b 0d 09 | 48, 300|, 64);..|
|00000f60| 49 6e 66 6f 57 69 6e 2e | 54 79 70 65 4c 61 62 65 |InfoWin.|TypeLabe|
|00000f70| 6c 50 61 6e 65 2e 6c 65 | 66 74 20 2b 3d 20 6b 49 |lPane.le|ft += kI|
|00000f80| 6e 64 65 6e 74 3b 0d 09 | 73 74 72 63 70 79 28 49 |ndent;..|strcpy(I|
|00000f90| 6e 66 6f 57 69 6e 2e 54 | 79 70 65 4c 61 62 65 6c |nfoWin.T|ypeLabel|
|00000fa0| 2c 20 22 54 79 70 65 22 | 29 3b 0d 09 0d 09 53 65 |, "Type"|);....Se|
|00000fb0| 74 52 65 63 74 28 26 49 | 6e 66 6f 57 69 6e 2e 44 |tRect(&I|nfoWin.D|
|00000fc0| 69 73 70 49 44 50 61 6e | 65 2c 20 33 30 30 2c 20 |ispIDPan|e, 300, |
|00000fd0| 34 38 2c 20 34 30 30 2c | 20 36 34 29 3b 0d 09 53 |48, 400,| 64);..S|
|00000fe0| 65 74 52 65 63 74 28 26 | 49 6e 66 6f 57 69 6e 2e |etRect(&|InfoWin.|
|00000ff0| 44 69 73 70 49 44 4c 61 | 62 65 6c 50 61 6e 65 2c |DispIDLa|belPane,|
|00001000| 20 33 30 30 2c 20 34 38 | 2c 20 34 30 30 2c 20 36 | 300, 48|, 400, 6|
|00001010| 34 29 3b 0d 09 49 6e 66 | 6f 57 69 6e 2e 44 69 73 |4);..Inf|oWin.Dis|
|00001020| 70 49 44 4c 61 62 65 6c | 50 61 6e 65 2e 6c 65 66 |pIDLabel|Pane.lef|
|00001030| 74 20 2b 3d 20 6b 49 6e | 64 65 6e 74 3b 0d 09 73 |t += kIn|dent;..s|
|00001040| 74 72 63 70 79 28 49 6e | 66 6f 57 69 6e 2e 44 69 |trcpy(In|foWin.Di|
|00001050| 73 70 49 44 4c 61 62 65 | 6c 2c 20 22 44 69 73 70 |spIDLabe|l, "Disp|
|00001060| 61 74 63 68 20 49 44 22 | 29 3b 0d 09 0d 09 53 65 |atch ID"|);....Se|
|00001070| 74 52 65 63 74 28 26 49 | 6e 66 6f 57 69 6e 2e 52 |tRect(&I|nfoWin.R|
|00001080| 65 74 75 72 6e 54 79 70 | 65 50 61 6e 65 2c 20 34 |eturnTyp|ePane, 4|
|00001090| 30 30 2c 20 34 38 2c 20 | 67 49 6e 66 6f 57 69 6e |00, 48, |gInfoWin|
|000010a0| 64 6f 77 2d 3e 70 6f 72 | 74 52 65 63 74 2e 72 69 |dow->por|tRect.ri|
|000010b0| 67 68 74 2c 20 36 34 29 | 3b 0d 09 53 65 74 52 65 |ght, 64)|;..SetRe|
|000010c0| 63 74 28 26 49 6e 66 6f | 57 69 6e 2e 52 65 74 75 |ct(&Info|Win.Retu|
|000010d0| 72 6e 54 79 70 65 4c 61 | 62 65 6c 50 61 6e 65 2c |rnTypeLa|belPane,|
|000010e0| 20 34 30 30 2c 20 34 38 | 2c 20 67 49 6e 66 6f 57 | 400, 48|, gInfoW|
|000010f0| 69 6e 64 6f 77 2d 3e 70 | 6f 72 74 52 65 63 74 2e |indow->p|ortRect.|
|00001100| 72 69 67 68 74 2c 20 36 | 34 29 3b 0d 09 49 6e 66 |right, 6|4);..Inf|
|00001110| 6f 57 69 6e 2e 52 65 74 | 75 72 6e 54 79 70 65 4c |oWin.Ret|urnTypeL|
|00001120| 61 62 65 6c 50 61 6e 65 | 2e 6c 65 66 74 20 2b 3d |abelPane|.left +=|
|00001130| 20 6b 49 6e 64 65 6e 74 | 3b 0d 09 73 74 72 63 70 | kIndent|;..strcp|
|00001140| 79 28 49 6e 66 6f 57 69 | 6e 2e 52 65 74 75 72 6e |y(InfoWi|n.Return|
|00001150| 54 79 70 65 4c 61 62 65 | 6c 2c 20 22 52 65 74 75 |TypeLabe|l, "Retu|
|00001160| 72 6e 20 54 79 70 65 22 | 29 3b 0d 09 0d 09 2f 2f |rn Type"|);....//|
|00001170| 20 44 65 73 63 50 61 6e | 65 0d 09 53 65 74 52 65 | DescPan|e..SetRe|
|00001180| 63 74 28 26 49 6e 66 6f | 57 69 6e 2e 44 65 73 63 |ct(&Info|Win.Desc|
|00001190| 50 61 6e 65 2c 20 30 2c | 20 36 34 2c 20 67 49 6e |Pane, 0,| 64, gIn|
|000011a0| 66 6f 57 69 6e 64 6f 77 | 2d 3e 70 6f 72 74 52 65 |foWindow|->portRe|
|000011b0| 63 74 2e 72 69 67 68 74 | 2c 20 67 49 6e 66 6f 57 |ct.right|, gInfoW|
|000011c0| 69 6e 64 6f 77 2d 3e 70 | 6f 72 74 52 65 63 74 2e |indow->p|ortRect.|
|000011d0| 62 6f 74 74 6f 6d 29 3b | 0d 09 73 74 72 63 70 79 |bottom);|..strcpy|
|000011e0| 28 49 6e 66 6f 57 69 6e | 2e 50 72 6f 70 4c 61 62 |(InfoWin|.PropLab|
|000011f0| 65 6c 2c 20 22 50 72 6f | 70 65 72 74 69 65 73 22 |el, "Pro|perties"|
|00001200| 29 3b 0d 7d 0d 0d 2f 2f | 0d 2f 2f 09 49 6e 69 74 |);.}..//|.//.Init|
|00001210| 57 69 6e 64 6f 77 44 61 | 74 61 20 0d 2f 2f 0d 76 |WindowDa|ta .//.v|
|00001220| 6f 69 64 20 49 6e 69 74 | 57 69 6e 64 6f 77 44 61 |oid Init|WindowDa|
|00001230| 74 61 28 41 58 52 65 66 | 49 44 20 69 6e 53 69 74 |ta(AXRef|ID inSit|
|00001240| 65 49 44 29 0d 7b 0d 09 | 69 66 20 28 20 69 6e 53 |eID).{..|if ( inS|
|00001250| 69 74 65 49 44 20 29 0d | 09 7b 0d 09 09 56 41 52 |iteID ).|.{...VAR|
|00001260| 49 41 4e 54 20 09 09 56 | 61 72 69 61 6e 74 3b 0d |IANT ..V|ariant;.|
|00001270| 09 09 49 6e 74 31 36 09 | 09 09 69 3b 0d 09 09 41 |..Int16.|..i;...A|
|00001280| 58 4d 65 74 68 6f 64 44 | 65 73 63 2a 09 4d 65 74 |XMethodD|esc*.Met|
|00001290| 68 6f 64 44 65 73 63 50 | 3b 0d 09 09 41 58 45 72 |hodDescP|;...AXEr|
|000012a0| 72 6f 72 43 6f 64 65 09 | 09 65 72 72 20 3d 20 6b |rorCode.|.err = k|
|000012b0| 41 58 4e 6f 45 72 72 3b | 0d 09 09 49 44 69 73 70 |AXNoErr;|...IDisp|
|000012c0| 61 74 63 68 2a 09 09 44 | 69 73 70 61 74 63 68 50 |atch*..D|ispatchP|
|000012d0| 20 3d 20 6e 69 6c 3b 0d | 09 09 0d 09 09 2f 2f 20 | = nil;.|.....// |
|000012e0| 44 69 73 70 6f 73 65 20 | 6f 66 20 74 68 65 20 63 |Dispose |of the c|
|000012f0| 75 72 72 65 6e 74 20 73 | 74 20 6f 66 20 6d 65 74 |urrent s|t of met|
|00001300| 68 6f 64 73 20 69 66 20 | 74 68 65 72 65 20 61 72 |hods if |there ar|
|00001310| 65 20 61 6e 79 0d 09 09 | 69 66 20 28 20 49 6e 66 |e any...|if ( Inf|
|00001320| 6f 57 69 6e 2e 4d 65 74 | 68 6f 64 73 20 29 0d 09 |oWin.Met|hods )..|
|00001330| 09 7b 0d 09 09 09 44 69 | 73 70 6f 73 65 50 74 72 |.{....Di|sposePtr|
|00001340| 28 28 50 74 72 29 20 49 | 6e 66 6f 57 69 6e 2e 4d |((Ptr) I|nfoWin.M|
|00001350| 65 74 68 6f 64 73 29 3b | 0d 09 09 09 49 6e 66 6f |ethods);|....Info|
|00001360| 57 69 6e 2e 4d 65 74 68 | 6f 64 73 20 3d 20 6e 69 |Win.Meth|ods = ni|
|00001370| 6c 3b 0d 09 09 7d 0d 09 | 09 09 0d 09 09 2f 2f 20 |l;...}..|.....// |
|00001380| 47 65 74 20 61 6c 6c 20 | 74 68 65 20 70 72 6f 70 |Get all |the prop|
|00001390| 65 72 74 69 65 73 2c 20 | 6d 65 74 68 6f 64 73 20 |erties, |methods |
|000013a0| 61 6e 64 20 65 76 65 6e | 74 73 20 73 75 70 70 6f |and even|ts suppo|
|000013b0| 72 74 65 64 20 62 79 20 | a0 68 69 73 20 63 6f 6e |rted by |.his con|
|000013c0| 74 72 6f 6c 0d 09 09 49 | 6e 66 6f 57 69 6e 2e 4e |trol...I|nfoWin.N|
|000013d0| 75 6d 4d 65 74 68 6f 64 | 73 20 3d 20 41 58 5f 47 |umMethod|s = AX_G|
|000013e0| 65 74 4d 65 74 68 6f 64 | 43 6f 75 6e 74 28 69 6e |etMethod|Count(in|
|000013f0| 53 69 74 65 49 44 2c 20 | 30 2c 20 6b 41 58 41 6c |SiteID, |0, kAXAl|
|00001400| 6c 4d 65 74 68 6f 64 4b | 69 6e 64 29 3b 0d 09 09 |lMethodK|ind);...|
|00001410| 49 6e 66 6f 57 69 6e 2e | 4d 65 74 68 6f 64 73 20 |InfoWin.|Methods |
|00001420| 3d 20 28 41 58 4d 65 74 | 68 6f 64 44 65 73 63 2a |= (AXMet|hodDesc*|
|00001430| 29 20 4e 65 77 50 74 72 | 43 6c 65 61 72 28 49 6e |) NewPtr|Clear(In|
|00001440| 66 6f 57 69 6e 2e 4e 75 | 6d 4d 65 74 68 6f 64 73 |foWin.Nu|mMethods|
|00001450| 20 2a 20 73 69 7a 65 6f | 66 28 41 58 4d 65 74 68 | * sizeo|f(AXMeth|
|00001460| 6f 64 44 65 73 63 29 29 | 3b 0d 09 09 41 58 5f 47 |odDesc))|;...AX_G|
|00001470| 65 74 4d 65 74 68 6f 64 | 44 65 73 63 72 69 70 74 |etMethod|Descript|
|00001480| 69 6f 6e 28 69 6e 53 69 | 74 65 49 44 2c 20 30 2c |ion(inSi|teID, 0,|
|00001490| 20 6b 41 58 41 6c 6c 4d | 65 74 68 6f 64 4b 69 6e | kAXAllM|ethodKin|
|000014a0| 64 2c 20 30 2c 20 49 6e | 66 6f 57 69 6e 2e 4d 65 |d, 0, In|foWin.Me|
|000014b0| 74 68 6f 64 73 29 3b 0d | 0d 09 09 2f 2f 20 47 65 |thods);.|...// Ge|
|000014c0| 74 20 4d 65 74 68 6f 64 | 20 44 65 73 63 72 69 70 |t Method| Descrip|
|000014d0| 74 69 6f 6e 20 72 65 74 | 75 72 6e 73 20 61 20 73 |tion ret|urns a s|
|000014e0| 74 72 75 63 74 75 72 65 | 20 77 69 74 68 20 64 65 |tructure| with de|
|000014f0| 66 61 75 6c 74 20 76 61 | 6c 75 65 73 20 66 6f 72 |fault va|lues for|
|00001500| 20 74 68 65 20 70 72 6f | 70 65 72 74 69 65 73 2c | the pro|perties,|
|00001510| 0d 09 09 2f 2f 20 57 65 | 20 6e 65 65 64 20 74 6f |...// We| need to|
|00001520| 20 72 65 70 6c 61 63 65 | 20 74 68 61 74 20 69 6e | replace| that in|
|00001530| 20 6f 75 72 20 63 6f 70 | 79 20 77 69 74 68 20 74 | our cop|y with t|
|00001540| 68 65 20 63 75 72 72 65 | 6e 74 20 76 61 6c 75 65 |he curre|nt value|
|00001550| 20 6f 66 20 74 68 65 20 | 70 72 6f 70 65 72 74 79 | of the |property|
|00001560| 20 66 6f 72 20 61 6c 6c | 20 74 68 65 20 70 72 6f | for all| the pro|
|00001570| 70 65 72 74 79 20 6d 65 | 74 68 6f 64 73 0d 09 09 |perty me|thods...|
|00001580| 0d 09 09 2f 2f 20 46 69 | 72 73 74 20 73 65 65 20 |...// Fi|rst see |
|00001590| 69 66 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 20 73 |if the c|ontrol s|
|000015a0| 75 70 70 6f 72 74 73 20 | 61 6e 20 49 44 69 73 70 |upports |an IDisp|
|000015b0| 61 74 63 68 20 69 6e 74 | 65 72 66 61 63 65 0d 09 |atch int|erface..|
|000015c0| 09 41 58 5f 51 75 65 72 | 79 49 6e 74 65 72 66 61 |.AX_Quer|yInterfa|
|000015d0| 63 65 28 69 6e 53 69 74 | 65 49 44 2c 20 26 49 49 |ce(inSit|eID, &II|
|000015e0| 44 5f 49 44 69 73 70 61 | 74 63 68 2c 20 26 44 69 |D_IDispa|tch, &Di|
|000015f0| 73 70 61 74 63 68 50 29 | 3b 0d 09 09 0d 09 09 2f |spatchP)|;....../|
|00001600| 2f 20 69 66 20 77 65 20 | 68 61 76 65 20 61 20 64 |/ if we |have a d|
|00001610| 69 73 70 61 74 63 68 20 | 76 74 61 62 6c 65 20 74 |ispatch |vtable t|
|00001620| 6f 20 63 61 6c 6c 2c 20 | 67 65 74 20 74 68 65 20 |o call, |get the |
|00001630| 63 75 72 72 65 6e 74 20 | 73 65 74 74 69 6e 67 73 |current |settings|
|00001640| 0d 09 09 69 66 20 28 20 | 44 69 73 70 61 74 63 68 |...if ( |Dispatch|
|00001650| 50 20 29 0d 09 09 7b 0d | 09 09 09 2f 2f 20 41 64 |P )...{.|...// Ad|
|00001660| 6a 75 73 74 20 74 68 65 | 20 70 72 6f 70 65 72 74 |just the| propert|
|00001670| 79 20 76 61 6c 75 65 20 | 74 6f 20 72 65 66 6c 65 |y value |to refle|
|00001680| 63 74 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 73 |ct the c|urrent s|
|00001690| 65 74 74 69 6e 67 0d 09 | 09 09 66 6f 72 20 28 20 |etting..|..for ( |
|000016a0| 69 20 3d 20 30 2c 20 4d | 65 74 68 6f 64 44 65 73 |i = 0, M|ethodDes|
|000016b0| 63 50 20 3d 20 49 6e 66 | 6f 57 69 6e 2e 4d 65 74 |cP = Inf|oWin.Met|
|000016c0| 68 6f 64 73 3b 20 69 20 | 3c 20 41 58 5f 47 65 74 |hods; i |< AX_Get|
|000016d0| 4d 65 74 68 6f 64 43 6f | 75 6e 74 28 69 6e 53 69 |MethodCo|unt(inSi|
|000016e0| 74 65 49 44 2c 20 30 2c | 20 6b 41 58 50 72 6f 70 |teID, 0,| kAXProp|
|000016f0| 65 72 74 79 4b 69 6e 64 | 29 3b 20 69 2b 2b 2c 20 |ertyKind|); i++, |
|00001700| 4d 65 74 68 6f 64 44 65 | 73 63 50 2b 2b 20 29 0d |MethodDe|scP++ ).|
|00001710| 09 09 09 7b 0d 09 09 09 | 09 2f 2f 20 49 6e 69 74 |...{....|.// Init|
|00001720| 69 61 6c 69 7a 65 20 74 | 68 65 20 76 61 72 69 61 |ialize t|he varia|
|00001730| 6e 74 20 73 74 72 75 63 | 74 75 72 65 0d 09 09 09 |nt struc|ture....|
|00001740| 09 41 58 5f 49 6e 69 74 | 56 61 72 69 61 6e 74 28 |.AX_Init|Variant(|
|00001750| 26 56 61 72 69 61 6e 74 | 29 3b 0d 09 09 09 09 0d |&Variant|);......|
|00001760| 09 09 09 09 2f 2f 20 43 | 61 6c 6c 20 49 6e 76 6f |....// C|all Invo|
|00001770| 6b 65 20 77 69 74 68 20 | 61 20 50 72 6f 70 65 72 |ke with |a Proper|
|00001780| 74 79 20 47 65 74 20 66 | 6c 61 67 0d 09 09 09 23 |ty Get f|lag....#|
|00001790| 69 66 64 65 66 20 55 53 | 49 4e 47 5f 43 5f 43 4f |ifdef US|ING_C_CO|
|000017a0| 4d 50 49 4c 45 52 0d 09 | 09 09 09 65 72 72 20 3d |MPILER..|...err =|
|000017b0| 20 44 69 73 70 61 74 63 | 68 50 2d 3e 6c 70 56 74 | Dispatc|hP->lpVt|
|000017c0| 62 6c 2d 3e 49 6e 76 6f | 6b 65 28 44 69 73 70 61 |bl->Invo|ke(Dispa|
|000017d0| 74 63 68 50 2c 20 4d 65 | 74 68 6f 64 44 65 73 63 |tchP, Me|thodDesc|
|000017e0| 50 2d 3e 44 69 73 70 49 | 44 2c 20 30 2c 20 30 2c |P->DispI|D, 0, 0,|
|000017f0| 20 44 49 53 50 41 54 43 | 48 5f 50 52 4f 50 45 52 | DISPATC|H_PROPER|
|00001800| 54 59 47 45 54 2c 20 6e | 69 6c 2c 20 26 56 61 72 |TYGET, n|il, &Var|
|00001810| 69 61 6e 74 2c 20 6e 69 | 6c 2c 20 6e 69 6c 29 3b |iant, ni|l, nil);|
|00001820| 0d 09 09 09 23 65 6c 73 | 65 0d 09 09 09 09 65 72 |....#els|e.....er|
|00001830| 72 20 3d 20 44 69 73 70 | 61 74 63 68 50 2d 3e 49 |r = Disp|atchP->I|
|00001840| 6e 76 6f 6b 65 28 4d 65 | 74 68 6f 64 44 65 73 63 |nvoke(Me|thodDesc|
|00001850| 50 2d 3e 44 69 73 70 49 | 44 2c 20 49 49 44 5f 4e |P->DispI|D, IID_N|
|00001860| 55 4c 4c 2c 20 30 2c 20 | 44 49 53 50 41 54 43 48 |ULL, 0, |DISPATCH|
|00001870| 5f 50 52 4f 50 45 52 54 | 59 47 45 54 2c 20 6e 69 |_PROPERT|YGET, ni|
|00001880| 6c 2c 20 26 56 61 72 69 | 61 6e 74 2c 20 6e 69 6c |l, &Vari|ant, nil|
|00001890| 2c 20 6e 69 6c 29 3b 0d | 09 09 09 23 65 6e 64 69 |, nil);.|...#endi|
|000018a0| 66 0d 09 09 09 09 69 66 | 20 28 20 65 72 72 20 3d |f.....if| ( err =|
|000018b0| 3d 20 6b 41 58 4e 6f 45 | 72 72 20 29 0d 09 09 09 |= kAXNoE|rr )....|
|000018c0| 09 7b 0d 09 09 09 09 09 | 2f 2f 20 43 6f 70 79 20 |.{......|// Copy |
|000018d0| 74 68 65 20 73 74 72 69 | 6e 67 20 72 65 74 75 72 |the stri|ng retur|
|000018e0| 6e 65 64 20 69 6e 74 6f | 20 74 68 65 20 76 61 6c |ned into| the val|
|000018f0| 75 65 20 6c 6f 63 61 74 | 69 6f 6e 20 66 6f 72 20 |ue locat|ion for |
|00001900| 74 68 69 73 20 70 72 6f | 70 65 72 74 79 0d 09 09 |this pro|perty...|
|00001910| 09 09 09 73 74 72 63 70 | 79 28 28 63 68 61 72 2a |...strcp|y((char*|
|00001920| 29 20 4d 65 74 68 6f 64 | 44 65 73 63 50 2d 3e 50 |) Method|DescP->P|
|00001930| 61 72 61 6d 73 5b 4d 65 | 74 68 6f 64 44 65 73 63 |arams[Me|thodDesc|
|00001940| 50 2d 3e 56 61 6c 75 65 | 49 6e 64 65 78 2d 31 5d |P->Value|Index-1]|
|00001950| 2e 4e 61 6d 65 2c 20 41 | 58 5f 47 65 74 42 53 54 |.Name, A|X_GetBST|
|00001960| 52 28 26 56 61 72 69 61 | 6e 74 29 29 3b 0d 09 09 |R(&Varia|nt));...|
|00001970| 09 09 09 43 74 6f 50 73 | 74 72 28 28 63 68 61 72 |...CtoPs|tr((char|
|00001980| 2a 29 20 4d 65 74 68 6f | 64 44 65 73 63 50 2d 3e |*) Metho|dDescP->|
|00001990| 50 61 72 61 6d 73 5b 4d | 65 74 68 6f 64 44 65 73 |Params[M|ethodDes|
|000019a0| 63 50 2d 3e 56 61 6c 75 | 65 49 6e 64 65 78 2d 31 |cP->Valu|eIndex-1|
|000019b0| 5d 2e 4e 61 6d 65 29 3b | 0d 09 09 09 09 09 0d 09 |].Name);|........|
|000019c0| 09 09 09 09 2f 2f 20 52 | 65 6c 65 61 73 65 20 74 |....// R|elease t|
|000019d0| 68 65 20 76 61 72 69 61 | 6e 74 09 0d 09 09 09 09 |he varia|nt......|
|000019e0| 09 41 58 5f 52 65 6c 65 | 61 73 65 56 61 72 69 61 |.AX_Rele|aseVaria|
|000019f0| 6e 74 28 26 56 61 72 69 | 61 6e 74 29 3b 0d 09 09 |nt(&Vari|ant);...|
|00001a00| 09 09 7d 0d 09 09 09 7d | 0d 09 09 09 0d 09 09 09 |..}....}|........|
|00001a10| 2f 2f 20 52 65 6c 65 61 | 73 65 20 74 68 65 20 56 |// Relea|se the V|
|00001a20| 74 62 6c 20 70 6f 69 6e | 74 65 72 0d 09 09 23 69 |tbl poin|ter...#i|
|00001a30| 66 64 65 66 20 55 53 49 | 4e 47 5f 43 5f 43 4f 4d |fdef USI|NG_C_COM|
|00001a40| 50 49 4c 45 52 0d 09 09 | 09 44 69 73 70 61 74 63 |PILER...|.Dispatc|
|00001a50| 68 50 2d 3e 6c 70 56 74 | 62 6c 2d 3e 52 65 6c 65 |hP->lpVt|bl->Rele|
|00001a60| 61 73 65 28 44 69 73 70 | 61 74 63 68 50 29 3b 0d |ase(Disp|atchP);.|
|00001a70| 09 09 23 65 6c 73 65 0d | 09 09 09 44 69 73 70 61 |..#else.|...Dispa|
|00001a80| 74 63 68 50 2d 3e 52 65 | 6c 65 61 73 65 28 29 3b |tchP->Re|lease();|
|00001a90| 0d 09 09 23 65 6e 64 69 | 66 0d 09 09 7d 0d 09 09 |...#endi|f...}...|
|00001aa0| 0d 09 7d 0d 09 65 6c 73 | 65 0d 09 7b 0d 09 09 44 |..}..els|e..{...D|
|00001ab0| 69 73 70 6f 73 65 50 74 | 72 28 28 50 74 72 29 20 |isposePt|r((Ptr) |
|00001ac0| 49 6e 66 6f 57 69 6e 2e | 4d 65 74 68 6f 64 73 29 |InfoWin.|Methods)|
|00001ad0| 3b 0d 09 09 49 6e 66 6f | 57 69 6e 2e 4d 65 74 68 |;...Info|Win.Meth|
|00001ae0| 6f 64 73 20 3d 20 6e 69 | 6c 3b 0d 09 09 49 6e 66 |ods = ni|l;...Inf|
|00001af0| 6f 57 69 6e 2e 4e 75 6d | 4d 65 74 68 6f 64 73 20 |oWin.Num|Methods |
|00001b00| 3d 20 30 3b 0d 09 7d 0d | 7d 0d 0d 2f 2f 0d 2f 2f |= 0;..}.|}..//.//|
|00001b10| 09 43 6c 6f 73 65 49 6e | 66 6f 57 69 6e 64 6f 77 |.CloseIn|foWindow|
|00001b20| 20 0d 2f 2f 0d 76 6f 69 | 64 20 43 6c 6f 73 65 49 | .//.voi|d CloseI|
|00001b30| 6e 66 6f 57 69 6e 64 6f | 77 28 57 69 6e 64 6f 77 |nfoWindo|w(Window|
|00001b40| 50 74 72 20 69 6e 57 69 | 6e 64 6f 77 29 0d 7b 0d |Ptr inWi|ndow).{.|
|00001b50| 09 69 66 20 28 20 69 6e | 57 69 6e 64 6f 77 20 3d |.if ( in|Window =|
|00001b60| 3d 20 67 49 6e 66 6f 57 | 69 6e 64 6f 77 20 29 0d |= gInfoW|indow ).|
|00001b70| 09 7b 0d 09 09 73 49 6e | 66 6f 57 69 6e 64 6f 77 |.{...sIn|foWindow|
|00001b80| 2a 09 49 6e 66 6f 57 69 | 6e 50 20 3d 20 28 73 49 |*.InfoWi|nP = (sI|
|00001b90| 6e 66 6f 57 69 6e 64 6f | 77 2a 29 20 47 65 74 57 |nfoWindo|w*) GetW|
|00001ba0| 52 65 66 43 6f 6e 28 69 | 6e 57 69 6e 64 6f 77 29 |RefCon(i|nWindow)|
|00001bb0| 3b 0d 09 09 0d 09 09 2f | 2f 20 44 69 73 70 6f 73 |;....../|/ Dispos|
|00001bc0| 65 20 6f 66 20 74 68 65 | 20 6d 65 74 68 6f 64 73 |e of the| methods|
|00001bd0| 20 66 6f 72 20 74 68 69 | 73 20 77 69 6e 64 6f 77 | for thi|s window|
|00001be0| 0d 09 09 44 69 73 70 6f | 73 65 50 74 72 28 28 50 |...Dispo|sePtr((P|
|00001bf0| 74 72 29 20 49 6e 66 6f | 57 69 6e 50 2d 3e 4d 65 |tr) Info|WinP->Me|
|00001c00| 74 68 6f 64 73 29 3b 0d | 09 09 49 6e 66 6f 57 69 |thods);.|..InfoWi|
|00001c10| 6e 50 2d 3e 4d 65 74 68 | 6f 64 73 20 3d 20 6e 69 |nP->Meth|ods = ni|
|00001c20| 6c 3b 0d 09 09 0d 09 09 | 2f 2f 20 44 69 73 70 6f |l;......|// Dispo|
|00001c30| 73 65 20 6f 66 20 74 68 | 65 20 77 69 6e 64 6f 77 |se of th|e window|
|00001c40| 0d 09 09 44 69 73 70 6f | 73 65 57 69 6e 64 6f 77 |...Dispo|seWindow|
|00001c50| 28 69 6e 57 69 6e 64 6f | 77 29 3b 0d 09 09 67 49 |(inWindo|w);...gI|
|00001c60| 6e 66 6f 57 69 6e 64 6f | 77 20 3d 20 6e 69 6c 3b |nfoWindo|w = nil;|
|00001c70| 0d 09 7d 0d 7d 0d 0d 2f | 2f 0d 2f 2f 09 44 72 61 |..}.}../|/.//.Dra|
|00001c80| 77 49 6e 66 6f 57 69 6e | 64 6f 77 20 0d 2f 2f 0d |wInfoWin|dow .//.|
|00001c90| 76 6f 69 64 20 44 72 61 | 77 49 6e 66 6f 57 69 6e |void Dra|wInfoWin|
|00001ca0| 64 6f 77 28 57 69 6e 64 | 6f 77 50 74 72 20 69 6e |dow(Wind|owPtr in|
|00001cb0| 57 69 6e 64 6f 77 29 0d | 7b 0d 09 73 49 6e 66 6f |Window).|{..sInfo|
|00001cc0| 57 69 6e 64 6f 77 2a 09 | 49 6e 66 6f 57 69 6e 50 |Window*.|InfoWinP|
|00001cd0| 20 3d 20 28 73 49 6e 66 | 6f 57 69 6e 64 6f 77 2a | = (sInf|oWindow*|
|00001ce0| 29 20 47 65 74 57 52 65 | 66 43 6f 6e 28 69 6e 57 |) GetWRe|fCon(inW|
|00001cf0| 69 6e 64 6f 77 29 3b 0d | 09 0d 09 44 72 61 77 49 |indow);.|...DrawI|
|00001d00| 6e 66 6f 4c 61 62 65 6c | 73 28 49 6e 66 6f 57 69 |nfoLabel|s(InfoWi|
|00001d10| 6e 50 29 3b 0d 09 44 72 | 61 77 49 6e 66 6f 44 61 |nP);..Dr|awInfoDa|
|00001d20| 74 61 28 49 6e 66 6f 57 | 69 6e 50 29 3b 0d 7d 0d |ta(InfoW|inP);.}.|
|00001d30| 0d 2f 2f 0d 2f 2f 09 44 | 72 61 77 49 6e 66 6f 44 |.//.//.D|rawInfoD|
|00001d40| 61 74 61 20 0d 2f 2f 0d | 76 6f 69 64 20 44 72 61 |ata .//.|void Dra|
|00001d50| 77 49 6e 66 6f 44 61 74 | 61 28 73 49 6e 66 6f 57 |wInfoDat|a(sInfoW|
|00001d60| 69 6e 64 6f 77 2a 20 69 | 6e 49 6e 66 6f 57 69 6e |indow* i|nInfoWin|
|00001d70| 29 0d 7b 0d 09 73 68 6f | 72 74 20 09 09 09 4f 6c |).{..sho|rt ...Ol|
|00001d80| 64 54 65 78 74 53 69 7a | 65 20 3d 20 69 6e 49 6e |dTextSiz|e = inIn|
|00001d90| 66 6f 57 69 6e 2d 3e 57 | 69 6e 64 6f 77 2d 3e 74 |foWin->W|indow->t|
|00001da0| 78 53 69 7a 65 3b 0d 09 | 73 68 6f 72 74 09 09 09 |xSize;..|short...|
|00001db0| 4f 6c 64 54 65 78 74 46 | 61 63 65 20 3d 20 69 6e |OldTextF|ace = in|
|00001dc0| 49 6e 66 6f 57 69 6e 2d | 3e 57 69 6e 64 6f 77 2d |InfoWin-|>Window-|
|00001dd0| 3e 74 78 46 61 63 65 3b | 0d 09 0d 09 2f 2f 20 43 |>txFace;|....// C|
|00001de0| 68 61 6e 67 65 20 74 68 | 65 20 74 65 78 74 20 73 |hange th|e text s|
|00001df0| 65 74 74 69 6e 67 73 0d | 09 54 65 78 74 53 69 7a |ettings.|.TextSiz|
|00001e00| 65 28 39 29 3b 0d 09 0d | 09 2f 2f 20 44 72 61 77 |e(9);...|.// Draw|
|00001e10| 20 74 68 65 20 6f 62 6a | 65 63 74 20 69 6e 66 6f | the obj|ect info|
|00001e20| 0d 09 44 72 61 77 4f 62 | 6a 65 63 74 49 6e 66 6f |..DrawOb|jectInfo|
|00001e30| 28 69 6e 49 6e 66 6f 57 | 69 6e 29 3b 0d 09 0d 09 |(inInfoW|in);....|
|00001e40| 2f 2f 20 44 72 61 77 20 | 50 72 6f 70 65 72 74 69 |// Draw |Properti|
|00001e50| 65 73 2c 20 4d 65 74 68 | 6f 64 73 20 61 6e 64 20 |es, Meth|ods and |
|00001e60| 65 76 65 6e 74 73 0d 09 | 44 72 61 77 4d 65 74 68 |events..|DrawMeth|
|00001e70| 6f 64 73 28 69 6e 49 6e | 66 6f 57 69 6e 29 3b 0d |ods(inIn|foWin);.|
|00001e80| 09 0d 09 2f 2f 20 52 65 | 73 74 6f 72 65 20 74 68 |...// Re|store th|
|00001e90| 65 20 74 65 78 74 20 73 | 65 74 74 69 6e 67 73 0d |e text s|ettings.|
|00001ea0| 09 54 65 78 74 53 69 7a | 65 28 4f 6c 64 54 65 78 |.TextSiz|e(OldTex|
|00001eb0| 74 53 69 7a 65 29 3b 0d | 09 54 65 78 74 46 61 63 |tSize);.|.TextFac|
|00001ec0| 65 28 4f 6c 64 54 65 78 | 74 46 61 63 65 29 3b 0d |e(OldTex|tFace);.|
|00001ed0| 7d 0d 0d 2f 2f 0d 2f 2f | 09 44 72 61 77 4f 62 6a |}..//.//|.DrawObj|
|00001ee0| 65 63 74 49 6e 66 6f 20 | 0d 2f 2f 0d 76 6f 69 64 |ectInfo |.//.void|
|00001ef0| 20 44 72 61 77 4f 62 6a | 65 63 74 49 6e 66 6f 28 | DrawObj|ectInfo(|
|00001f00| 73 49 6e 66 6f 57 69 6e | 64 6f 77 2a 20 69 6e 49 |sInfoWin|dow* inI|
|00001f10| 6e 66 6f 57 69 6e 29 0d | 7b 0d 09 63 68 61 72 09 |nfoWin).|{..char.|
|00001f20| 09 09 49 44 53 74 72 5b | 36 34 5d 3b 0d 09 41 58 |..IDStr[|64];..AX|
|00001f30| 50 6c 61 74 66 6f 72 6d | 50 6f 69 6e 74 09 44 65 |Platform|Point.De|
|00001f40| 66 61 75 6c 74 53 69 7a | 65 3b 0d 09 53 74 72 31 |faultSiz|e;..Str1|
|00001f50| 35 09 09 09 53 69 7a 65 | 53 74 72 3b 0d 09 0d 09 |5...Size|Str;....|
|00001f60| 69 66 20 28 20 69 6e 49 | 6e 66 6f 57 69 6e 2d 3e |if ( inI|nfoWin->|
|00001f70| 53 69 74 65 49 44 20 21 | 3d 20 30 20 29 0d 09 7b |SiteID !|= 0 )..{|
|00001f80| 0d 09 09 2f 2f 20 55 73 | 65 72 20 4e 61 6d 65 0d |...// Us|er Name.|
|00001f90| 09 09 41 58 5f 47 65 74 | 49 44 53 74 72 69 6e 67 |..AX_Get|IDString|
|00001fa0| 28 69 6e 49 6e 66 6f 57 | 69 6e 2d 3e 53 69 74 65 |(inInfoW|in->Site|
|00001fb0| 49 44 2c 20 30 2c 20 6b | 41 58 55 73 65 72 4e 61 |ID, 0, k|AXUserNa|
|00001fc0| 6d 65 2c 20 36 34 2c 20 | 49 44 53 74 72 29 3b 0d |me, 64, |IDStr);.|
|00001fd0| 09 09 54 45 54 65 78 74 | 42 6f 78 28 49 44 53 74 |..TEText|Box(IDSt|
|00001fe0| 72 2c 20 73 74 72 6c 65 | 6e 28 49 44 53 74 72 29 |r, strle|n(IDStr)|
|00001ff0| 2c 20 26 69 6e 49 6e 66 | 6f 57 69 6e 2d 3e 55 73 |, &inInf|oWin->Us|
|00002000| 65 72 4e 61 6d 65 50 61 | 6e 65 2c 20 74 65 46 6c |erNamePa|ne, teFl|
|00002010| 75 73 68 4c 65 66 74 29 | 3b 0d 0d 09 09 2f 2f 20 |ushLeft)|;....// |
|00002020| 43 6c 61 73 73 20 49 44 | 0d 09 09 41 58 5f 47 65 |Class ID|...AX_Ge|
|00002030| 74 49 44 53 74 72 69 6e | 67 28 69 6e 49 6e 66 6f |tIDStrin|g(inInfo|
|00002040| 57 69 6e 2d 3e 53 69 74 | 65 49 44 2c 20 30 2c 20 |Win->Sit|eID, 0, |
|00002050| 6b 41 58 43 6c 61 73 73 | 49 44 2c 20 36 34 2c 20 |kAXClass|ID, 64, |
|00002060| 49 44 53 74 72 29 3b 0d | 09 09 54 45 54 65 78 74 |IDStr);.|..TEText|
|00002070| 42 6f 78 28 49 44 53 74 | 72 2c 20 73 74 72 6c 65 |Box(IDSt|r, strle|
|00002080| 6e 28 49 44 53 74 72 29 | 2c 20 26 69 6e 49 6e 66 |n(IDStr)|, &inInf|
|00002090| 6f 57 69 6e 2d 3e 43 6c | 61 73 73 49 44 50 61 6e |oWin->Cl|assIDPan|
|000020a0| 65 2c 20 74 65 46 6c 75 | 73 68 4c 65 66 74 29 3b |e, teFlu|shLeft);|
|000020b0| 0d 0d 09 09 2f 2f 20 46 | 72 61 67 20 4e 61 6d 65 |....// F|rag Name|
|000020c0| 0d 09 09 41 58 5f 47 65 | 74 49 44 53 74 72 69 6e |...AX_Ge|tIDStrin|
|000020d0| 67 28 69 6e 49 6e 66 6f | 57 69 6e 2d 3e 53 69 74 |g(inInfo|Win->Sit|
|000020e0| 65 49 44 2c 20 30 2c 20 | 6b 41 58 46 72 61 67 4e |eID, 0, |kAXFragN|
|000020f0| 61 6d 65 2c 20 36 34 2c | 20 49 44 53 74 72 29 3b |ame, 64,| IDStr);|
|00002100| 0d 09 09 54 45 54 65 78 | 74 42 6f 78 28 49 44 53 |...TETex|tBox(IDS|
|00002110| 74 72 2c 20 73 74 72 6c | 65 6e 28 49 44 53 74 72 |tr, strl|en(IDStr|
|00002120| 29 2c 20 26 69 6e 49 6e | 66 6f 57 69 6e 2d 3e 46 |), &inIn|foWin->F|
|00002130| 72 61 67 4e 61 6d 65 50 | 61 6e 65 2c 20 74 65 46 |ragNameP|ane, teF|
|00002140| 6c 75 73 68 4c 65 66 74 | 29 3b 0d 0d 09 09 2f 2f |lushLeft|);....//|
|00002150| 20 50 72 6f 67 20 49 44 | 0d 09 09 41 58 5f 47 65 | Prog ID|...AX_Ge|
|00002160| 74 49 44 53 74 72 69 6e | 67 28 69 6e 49 6e 66 6f |tIDStrin|g(inInfo|
|00002170| 57 69 6e 2d 3e 53 69 74 | 65 49 44 2c 20 30 2c 20 |Win->Sit|eID, 0, |
|00002180| 6b 41 58 50 72 6f 67 49 | 44 2c 20 36 34 2c 20 49 |kAXProgI|D, 64, I|
|00002190| 44 53 74 72 29 3b 0d 09 | 09 54 45 54 65 78 74 42 |DStr);..|.TETextB|
|000021a0| 6f 78 28 49 44 53 74 72 | 2c 20 73 74 72 6c 65 6e |ox(IDStr|, strlen|
|000021b0| 28 49 44 53 74 72 29 2c | 20 26 69 6e 49 6e 66 6f |(IDStr),| &inInfo|
|000021c0| 57 69 6e 2d 3e 50 72 6f | 67 49 44 50 61 6e 65 2c |Win->Pro|gIDPane,|
|000021d0| 20 74 65 46 6c 75 73 68 | 4c 65 66 74 29 3b 0d 0d | teFlush|Left);..|
|000021e0| 09 09 2f 2f 20 44 65 66 | 61 75 6c 74 20 48 65 69 |..// Def|ault Hei|
|000021f0| 67 68 74 0d 09 09 41 58 | 5f 47 65 74 44 65 66 61 |ght...AX|_GetDefa|
|00002200| 75 6c 74 53 69 7a 65 28 | 69 6e 49 6e 66 6f 57 69 |ultSize(|inInfoWi|
|00002210| 6e 2d 3e 53 69 74 65 49 | 44 2c 20 30 2c 20 26 44 |n->SiteI|D, 0, &D|
|00002220| 65 66 61 75 6c 74 53 69 | 7a 65 29 3b 0d 09 09 4e |efaultSi|ze);...N|
|00002230| 75 6d 54 6f 53 74 72 69 | 6e 67 28 44 65 66 61 75 |umToStri|ng(Defau|
|00002240| 6c 74 53 69 7a 65 2e 76 | 2c 20 53 69 7a 65 53 74 |ltSize.v|, SizeSt|
|00002250| 72 29 3b 0d 09 09 54 45 | 54 65 78 74 42 6f 78 28 |r);...TE|TextBox(|
|00002260| 26 53 69 7a 65 53 74 72 | 5b 31 5d 2c 20 53 69 7a |&SizeStr|[1], Siz|
|00002270| 65 53 74 72 5b 30 5d 2c | 20 26 69 6e 49 6e 66 6f |eStr[0],| &inInfo|
|00002280| 57 69 6e 2d 3e 48 65 69 | 67 68 74 50 61 6e 65 2c |Win->Hei|ghtPane,|
|00002290| 20 74 65 46 6c 75 73 68 | 4c 65 66 74 29 3b 0d 09 | teFlush|Left);..|
|000022a0| 09 4e 75 6d 54 6f 53 74 | 72 69 6e 67 28 44 65 66 |.NumToSt|ring(Def|
|000022b0| 61 75 6c 74 53 69 7a 65 | 2e 68 2c 20 53 69 7a 65 |aultSize|.h, Size|
|000022c0| 53 74 72 29 3b 0d 09 09 | 54 45 54 65 78 74 42 6f |Str);...|TETextBo|
|000022d0| 78 28 26 53 69 7a 65 53 | 74 72 5b 31 5d 2c 20 53 |x(&SizeS|tr[1], S|
|000022e0| 69 7a 65 53 74 72 5b 30 | 5d 2c 20 26 69 6e 49 6e |izeStr[0|], &inIn|
|000022f0| 66 6f 57 69 6e 2d 3e 57 | 69 64 74 68 50 61 6e 65 |foWin->W|idthPane|
|00002300| 2c 20 74 65 46 6c 75 73 | 68 4c 65 66 74 29 3b 0d |, teFlus|hLeft);.|
|00002310| 09 7d 0d 7d 0d 0d 0d 2f | 2f 0d 2f 2f 09 44 72 61 |.}.}.../|/.//.Dra|
|00002320| 77 4d 65 74 68 6f 64 73 | 20 0d 2f 2f 0d 76 6f 69 |wMethods| .//.voi|
|00002330| 64 20 44 72 61 77 4d 65 | 74 68 6f 64 73 28 73 49 |d DrawMe|thods(sI|
|00002340| 6e 66 6f 57 69 6e 64 6f | 77 2a 20 69 6e 49 6e 66 |nfoWindo|w* inInf|
|00002350| 6f 57 69 6e 29 0d 7b 0d | 09 73 68 6f 72 74 20 09 |oWin).{.|.short .|
|00002360| 09 09 69 3b 0d 09 42 6f | 6f 6c 65 61 6e 09 09 09 |..i;..Bo|olean...|
|00002370| 48 61 76 65 50 72 6f 70 | 54 69 74 6c 65 20 3d 20 |HaveProp|Title = |
|00002380| 66 61 6c 73 65 2c 20 48 | 61 76 65 4d 65 74 68 6f |false, H|aveMetho|
|00002390| 64 54 69 74 6c 65 20 3d | 20 66 61 6c 73 65 2c 20 |dTitle =| false, |
|000023a0| 48 61 76 65 45 76 65 6e | 74 54 69 74 6c 65 20 3d |HaveEven|tTitle =|
|000023b0| 20 66 61 6c 73 65 3b 0d | 09 52 65 63 74 09 09 09 | false;.|.Rect...|
|000023c0| 44 61 74 61 52 65 63 74 | 3b 0d 09 41 58 4d 65 74 |DataRect|;..AXMet|
|000023d0| 68 6f 64 44 65 73 63 2a | 09 4d 65 74 68 6f 64 50 |hodDesc*|.MethodP|
|000023e0| 3b 0d 09 63 68 61 72 09 | 09 09 50 72 6f 70 54 69 |;..char.|..PropTi|
|000023f0| 74 6c 65 5b 33 32 5d 20 | 3d 20 22 50 72 6f 70 65 |tle[32] |= "Prope|
|00002400| 72 74 69 65 73 22 3b 0d | 09 63 68 61 72 09 09 09 |rties";.|.char...|
|00002410| 4d 65 74 68 54 69 74 6c | 65 5b 33 32 5d 20 3d 20 |MethTitl|e[32] = |
|00002420| 22 4d 65 74 68 6f 64 73 | 22 3b 0d 09 63 68 61 72 |"Methods|";..char|
|00002430| 09 09 09 45 76 65 6e 74 | 54 69 74 6c 65 5b 33 32 |...Event|Title[32|
|00002440| 5d 20 3d 20 22 45 76 65 | 6e 74 73 22 3b 0d 09 63 |] = "Eve|nts";..c|
|00002450| 68 61 72 09 09 09 44 61 | 73 68 5b 32 5d 20 3d 20 |har...Da|sh[2] = |
|00002460| 22 2d 22 3b 0d 0d 09 69 | 66 20 28 20 69 6e 49 6e |"-";...i|f ( inIn|
|00002470| 66 6f 57 69 6e 2d 3e 53 | 69 74 65 49 44 20 3d 3d |foWin->S|iteID ==|
|00002480| 20 30 20 29 0d 09 09 72 | 65 74 75 72 6e 3b 0d 09 | 0 )...r|eturn;..|
|00002490| 09 20 0d 09 2f 2f 20 44 | 72 61 77 20 74 68 65 20 |. ..// D|raw the |
|000024a0| 70 72 6f 70 65 72 74 69 | 65 73 2c 20 6d 65 74 68 |properti|es, meth|
|000024b0| 6f 64 73 20 61 6e 64 20 | 65 76 65 6e 74 20 64 61 |ods and |event da|
|000024c0| 74 61 0d 09 53 65 74 52 | 65 63 74 28 26 44 61 74 |ta..SetR|ect(&Dat|
|000024d0| 61 52 65 63 74 2c 20 69 | 6e 49 6e 66 6f 57 69 6e |aRect, i|nInfoWin|
|000024e0| 2d 3e 48 65 61 64 65 72 | 50 61 6e 65 2e 6c 65 66 |->Header|Pane.lef|
|000024f0| 74 2b 31 2c 20 69 6e 49 | 6e 66 6f 57 69 6e 2d 3e |t+1, inI|nfoWin->|
|00002500| 48 65 61 64 65 72 50 61 | 6e 65 2e 62 6f 74 74 6f |HeaderPa|ne.botto|
|00002510| 6d 2b 31 2c 20 69 6e 49 | 6e 66 6f 57 69 6e 2d 3e |m+1, inI|nfoWin->|
|00002520| 50 61 72 61 6d 50 61 6e | 65 2e 6c 65 66 74 2d 31 |ParamPan|e.left-1|
|00002530| 2c 20 69 6e 49 6e 66 6f | 57 69 6e 2d 3e 48 65 61 |, inInfo|Win->Hea|
|00002540| 64 65 72 50 61 6e 65 2e | 62 6f 74 74 6f 6d 2b 31 |derPane.|bottom+1|
|00002550| 37 29 3b 0d 09 66 6f 72 | 20 28 20 69 20 3d 20 31 |7);..for| ( i = 1|
|00002560| 2c 20 4d 65 74 68 6f 64 | 50 20 3d 20 69 6e 49 6e |, Method|P = inIn|
|00002570| 66 6f 57 69 6e 2d 3e 4d | 65 74 68 6f 64 73 3b 20 |foWin->M|ethods; |
|00002580| 69 20 3c 3d 20 69 6e 49 | 6e 66 6f 57 69 6e 2d 3e |i <= inI|nfoWin->|
|00002590| 4e 75 6d 4d 65 74 68 6f | 64 73 3b 20 69 20 2b 2b |NumMetho|ds; i ++|
|000025a0| 2c 20 4d 65 74 68 6f 64 | 50 2b 2b 20 29 0d 09 7b |, Method|P++ )..{|
|000025b0| 0d 09 09 73 77 69 74 63 | 68 20 28 20 4d 65 74 68 |...switc|h ( Meth|
|000025c0| 6f 64 50 2d 3e 4b 69 6e | 64 20 29 0d 09 09 7b 0d |odP->Kin|d )...{.|
|000025d0| 09 09 09 63 61 73 65 20 | 6b 41 58 50 72 6f 70 65 |...case |kAXPrope|
|000025e0| 72 74 79 4b 69 6e 64 3a | 0d 09 09 09 09 69 66 20 |rtyKind:|.....if |
|000025f0| 28 20 21 48 61 76 65 50 | 72 6f 70 54 69 74 6c 65 |( !HaveP|ropTitle|
|00002600| 20 29 0d 09 09 09 09 09 | 48 61 76 65 50 72 6f 70 | )......|HaveProp|
|00002610| 54 69 74 6c 65 20 3d 20 | 44 72 61 77 54 69 74 6c |Title = |DrawTitl|
|00002620| 65 28 50 72 6f 70 54 69 | 74 6c 65 2c 20 26 44 61 |e(PropTi|tle, &Da|
|00002630| 74 61 52 65 63 74 29 3b | 0d 09 09 09 09 62 72 65 |taRect);|.....bre|
|00002640| 61 6b 3b 0d 09 09 09 09 | 0d 09 09 09 63 61 73 65 |ak;.....|....case|
|00002650| 20 6b 41 58 4d 65 74 68 | 6f 64 4b 69 6e 64 3a 0d | kAXMeth|odKind:.|
|00002660| 09 09 09 09 69 66 20 28 | 20 21 48 61 76 65 50 72 |....if (| !HavePr|
|00002670| 6f 70 54 69 74 6c 65 20 | 29 0d 09 09 09 09 09 48 |opTitle |)......H|
|00002680| 61 76 65 50 72 6f 70 54 | 69 74 6c 65 20 3d 20 44 |avePropT|itle = D|
|00002690| 72 61 77 54 69 74 6c 65 | 28 50 72 6f 70 54 69 74 |rawTitle|(PropTit|
|000026a0| 6c 65 2c 20 26 44 61 74 | 61 52 65 63 74 29 3b 0d |le, &Dat|aRect);.|
|000026b0| 09 09 09 09 69 66 20 28 | 20 21 48 61 76 65 4d 65 |....if (| !HaveMe|
|000026c0| 74 68 6f 64 54 69 74 6c | 65 20 29 0d 09 09 09 09 |thodTitl|e ).....|
|000026d0| 09 48 61 76 65 4d 65 74 | 68 6f 64 54 69 74 6c 65 |.HaveMet|hodTitle|
|000026e0| 20 3d 20 44 72 61 77 54 | 69 74 6c 65 28 4d 65 74 | = DrawT|itle(Met|
|000026f0| 68 54 69 74 6c 65 2c 20 | 26 44 61 74 61 52 65 63 |hTitle, |&DataRec|
|00002700| 74 29 3b 0d 09 09 09 09 | 62 72 65 61 6b 3b 0d 09 |t);.....|break;..|
|00002710| 09 09 09 0d 09 09 09 63 | 61 73 65 20 6b 41 58 45 |.......c|ase kAXE|
|00002720| 76 65 6e 74 4b 69 6e 64 | 3a 0d 09 09 09 09 69 66 |ventKind|:.....if|
|00002730| 20 28 20 21 48 61 76 65 | 50 72 6f 70 54 69 74 6c | ( !Have|PropTitl|
|00002740| 65 20 29 0d 09 09 09 09 | 09 48 61 76 65 50 72 6f |e ).....|.HavePro|
|00002750| 70 54 69 74 6c 65 20 3d | 20 44 72 61 77 54 69 74 |pTitle =| DrawTit|
|00002760| 6c 65 28 50 72 6f 70 54 | 69 74 6c 65 2c 20 26 44 |le(PropT|itle, &D|
|00002770| 61 74 61 52 65 63 74 29 | 3b 0d 09 09 09 09 69 66 |ataRect)|;.....if|
|00002780| 20 28 20 21 48 61 76 65 | 4d 65 74 68 6f 64 54 69 | ( !Have|MethodTi|
|00002790| 74 6c 65 20 29 0d 09 09 | 09 09 09 48 61 76 65 4d |tle )...|...HaveM|
|000027a0| 65 74 68 6f 64 54 69 74 | 6c 65 20 3d 20 44 72 61 |ethodTit|le = Dra|
|000027b0| 77 54 69 74 6c 65 28 4d | 65 74 68 54 69 74 6c 65 |wTitle(M|ethTitle|
|000027c0| 2c 20 26 44 61 74 61 52 | 65 63 74 29 3b 0d 09 09 |, &DataR|ect);...|
|000027d0| 09 09 69 66 20 28 20 21 | 48 61 76 65 45 76 65 6e |..if ( !|HaveEven|
|000027e0| 74 54 69 74 6c 65 20 29 | 0d 09 09 09 09 09 48 61 |tTitle )|......Ha|
|000027f0| 76 65 45 76 65 6e 74 54 | 69 74 6c 65 20 3d 20 44 |veEventT|itle = D|
|00002800| 72 61 77 54 69 74 6c 65 | 28 45 76 65 6e 74 54 69 |rawTitle|(EventTi|
|00002810| 74 6c 65 2c 20 26 44 61 | 74 61 52 65 63 74 29 3b |tle, &Da|taRect);|
|00002820| 0d 09 09 09 09 62 72 65 | 61 6b 3b 0d 09 09 09 09 |.....bre|ak;.....|
|00002830| 0d 09 09 7d 0d 09 09 0d | 09 09 44 61 74 61 52 65 |...}....|..DataRe|
|00002840| 63 74 2e 6c 65 66 74 20 | 2b 3d 20 6b 49 6e 64 65 |ct.left |+= kInde|
|00002850| 6e 74 3b 09 2f 2f 20 69 | 6e 64 65 6e 74 0d 09 09 |nt;.// i|ndent...|
|00002860| 0d 09 09 2f 2f 20 44 72 | 61 77 20 74 68 65 20 6e |...// Dr|aw the n|
|00002870| 61 6d 65 20 6f 66 20 74 | 68 65 20 6d 65 74 68 6f |ame of t|he metho|
|00002880| 64 20 6f 72 20 70 72 6f | 70 65 72 74 79 0d 09 09 |d or pro|perty...|
|00002890| 54 45 54 65 78 74 42 6f | 78 28 26 4d 65 74 68 6f |TETextBo|x(&Metho|
|000028a0| 64 50 2d 3e 4e 61 6d 65 | 5b 31 5d 2c 20 4d 65 74 |dP->Name|[1], Met|
|000028b0| 68 6f 64 50 2d 3e 4e 61 | 6d 65 5b 30 5d 2c 20 26 |hodP->Na|me[0], &|
|000028c0| 44 61 74 61 52 65 63 74 | 2c 20 74 65 46 6c 75 73 |DataRect|, teFlus|
|000028d0| 68 4c 65 66 74 29 3b 0d | 09 09 0d 09 09 2f 2f 20 |hLeft);.|.....// |
|000028e0| 69 66 20 74 68 69 73 20 | 69 73 20 61 20 70 72 6f |if this |is a pro|
|000028f0| 70 65 72 74 79 2c 20 64 | 72 61 77 20 74 68 65 20 |perty, d|raw the |
|00002900| 73 69 6d 70 6c 65 20 70 | 72 6f 70 65 72 74 79 20 |simple p|roperty |
|00002910| 69 6e 66 6f 0d 09 09 2f | 2f 20 6f 74 68 65 72 77 |info.../|/ otherw|
|00002920| 69 73 65 2c 20 6d 65 74 | 68 6f 64 73 20 6d 75 73 |ise, met|hods mus|
|00002930| 74 20 6c 69 73 74 20 69 | 6e 66 6f 20 66 6f 72 20 |t list i|nfo for |
|00002940| 65 61 63 68 20 70 61 72 | 61 6d 0d 09 09 69 66 20 |each par|am...if |
|00002950| 28 20 4d 65 74 68 6f 64 | 50 2d 3e 4b 69 6e 64 20 |( Method|P->Kind |
|00002960| 3d 3d 20 6b 41 58 50 72 | 6f 70 65 72 74 79 4b 69 |== kAXPr|opertyKi|
|00002970| 6e 64 20 29 0d 09 09 7b | 0d 09 09 09 44 72 61 77 |nd )...{|....Draw|
|00002980| 50 61 72 61 6d 4e 61 6d | 65 28 4d 65 74 68 6f 64 |ParamNam|e(Method|
|00002990| 50 2d 3e 50 61 72 61 6d | 73 5b 4d 65 74 68 6f 64 |P->Param|s[Method|
|000029a0| 50 2d 3e 56 61 6c 75 65 | 49 6e 64 65 78 2d 31 5d |P->Value|Index-1]|
|000029b0| 2e 4e 61 6d 65 2c 20 26 | 44 61 74 61 52 65 63 74 |.Name, &|DataRect|
|000029c0| 29 3b 0d 09 09 09 44 72 | 61 77 54 79 70 65 28 4d |);....Dr|awType(M|
|000029d0| 65 74 68 6f 64 50 2d 3e | 50 61 72 61 6d 73 5b 4d |ethodP->|Params[M|
|000029e0| 65 74 68 6f 64 50 2d 3e | 56 61 6c 75 65 49 6e 64 |ethodP->|ValueInd|
|000029f0| 65 78 2d 31 5d 2e 54 79 | 70 65 2c 20 26 44 61 74 |ex-1].Ty|pe, &Dat|
|00002a00| 61 52 65 63 74 29 3b 0d | 09 09 09 44 72 61 77 44 |aRect);.|...DrawD|
|00002a10| 69 73 70 49 44 28 4d 65 | 74 68 6f 64 50 2d 3e 44 |ispID(Me|thodP->D|
|00002a20| 69 73 70 49 44 2c 20 26 | 44 61 74 61 52 65 63 74 |ispID, &|DataRect|
|00002a30| 29 3b 0d 09 09 09 44 72 | 61 77 54 79 70 65 28 4d |);....Dr|awType(M|
|00002a40| 65 74 68 6f 64 50 2d 3e | 52 65 74 75 72 6e 54 79 |ethodP->|ReturnTy|
|00002a50| 70 65 2c 20 26 44 61 74 | 61 52 65 63 74 29 3b 0d |pe, &Dat|aRect);.|
|00002a60| 09 09 7d 0d 09 09 65 6c | 73 65 20 2f 2f 20 4d 65 |..}...el|se // Me|
|00002a70| 74 68 6f 64 20 6f 72 20 | 65 76 65 6e 74 0d 09 09 |thod or |event...|
|00002a80| 7b 0d 09 09 09 2f 2f 20 | 44 61 73 68 20 66 6f 72 |{....// |Dash for|
|00002a90| 20 50 61 72 61 6d 20 4e | 61 6d 65 20 63 6f 6c 75 | Param N|ame colu|
|00002aa0| 6d 6e 0d 09 09 09 4f 66 | 66 73 65 74 52 65 63 74 |mn....Of|fsetRect|
|00002ab0| 28 26 44 61 74 61 52 65 | 63 74 2c 20 31 30 30 2c |(&DataRe|ct, 100,|
|00002ac0| 20 30 29 3b 0d 09 09 09 | 54 45 54 65 78 74 42 6f | 0);....|TETextBo|
|00002ad0| 78 28 44 61 73 68 2c 20 | 73 74 72 6c 65 6e 28 44 |x(Dash, |strlen(D|
|00002ae0| 61 73 68 29 2c 20 26 44 | 61 74 61 52 65 63 74 2c |ash), &D|ataRect,|
|00002af0| 20 74 65 43 65 6e 74 65 | 72 29 3b 09 0d 09 09 09 | teCente|r);.....|
|00002b00| 0d 09 09 09 2f 2f 20 44 | 61 73 68 20 66 6f 72 20 |....// D|ash for |
|00002b10| 50 61 72 61 6d 20 54 79 | 70 65 20 63 6f 6c 75 6d |Param Ty|pe colum|
|00002b20| 6e 0d 09 09 09 4f 66 66 | 73 65 74 52 65 63 74 28 |n....Off|setRect(|
|00002b30| 26 44 61 74 61 52 65 63 | 74 2c 20 31 30 30 2c 20 |&DataRec|t, 100, |
|00002b40| 30 29 3b 0d 09 09 09 54 | 45 54 65 78 74 42 6f 78 |0);....T|ETextBox|
|00002b50| 28 44 61 73 68 2c 20 73 | 74 72 6c 65 6e 28 44 61 |(Dash, s|trlen(Da|
|00002b60| 73 68 29 2c 20 26 44 61 | 74 61 52 65 63 74 2c 20 |sh), &Da|taRect, |
|00002b70| 74 65 43 65 6e 74 65 72 | 29 3b 0d 09 09 09 0d 09 |teCenter|);......|
|00002b80| 09 09 2f 2f 20 44 72 61 | 77 20 74 68 65 20 44 69 |..// Dra|w the Di|
|00002b90| 73 70 49 44 20 61 6e 64 | 20 52 65 74 75 72 6e 20 |spID and| Return |
|00002ba0| 74 79 70 65 20 66 6f 72 | 20 74 68 65 20 6d 65 74 |type for| the met|
|00002bb0| 68 6f 64 0d 09 09 09 44 | 72 61 77 44 69 73 70 49 |hod....D|rawDispI|
|00002bc0| 44 28 4d 65 74 68 6f 64 | 50 2d 3e 44 69 73 70 49 |D(Method|P->DispI|
|00002bd0| 44 2c 20 26 44 61 74 61 | 52 65 63 74 29 3b 0d 09 |D, &Data|Rect);..|
|00002be0| 09 09 44 72 61 77 54 79 | 70 65 28 4d 65 74 68 6f |..DrawTy|pe(Metho|
|00002bf0| 64 50 2d 3e 52 65 74 75 | 72 6e 54 79 70 65 2c 20 |dP->Retu|rnType, |
|00002c00| 26 44 61 74 61 52 65 63 | 74 29 3b 0d 09 09 09 0d |&DataRec|t);.....|
|00002c10| 09 09 09 2f 2f 20 69 66 | 20 77 65 20 68 61 76 65 |...// if| we have|
|00002c20| 20 70 61 72 61 6d 73 20 | 66 6f 72 20 74 68 69 73 | params |for this|
|00002c30| 20 6d 65 74 68 6f 64 0d | 09 09 09 69 66 20 28 20 | method.|...if ( |
|00002c40| 20 4d 65 74 68 6f 64 50 | 2d 3e 50 61 72 61 6d 43 | MethodP|->ParamC|
|00002c50| 6f 75 6e 74 20 3e 20 30 | 20 29 0d 09 09 09 7b 0d |ount > 0| )....{.|
|00002c60| 09 09 09 09 73 68 6f 72 | 74 20 6a 3b 0d 09 09 09 |....shor|t j;....|
|00002c70| 09 0d 09 09 09 09 2f 2f | 20 44 72 61 77 20 74 68 |......//| Draw th|
|00002c80| 65 20 6e 61 6d 65 20 61 | 6e 64 20 74 79 70 65 20 |e name a|nd type |
|00002c90| 66 6f 72 20 65 61 63 68 | 20 70 61 72 61 6d 0d 09 |for each| param..|
|00002ca0| 09 09 09 66 6f 72 20 28 | 20 6a 20 3d 20 30 3b 20 |...for (| j = 0; |
|00002cb0| 6a 20 3c 20 4d 65 74 68 | 6f 64 50 2d 3e 50 61 72 |j < Meth|odP->Par|
|00002cc0| 61 6d 43 6f 75 6e 74 3b | 20 6a 2b 2b 20 29 0d 09 |amCount;| j++ )..|
|00002cd0| 09 09 09 7b 0d 09 09 09 | 09 09 2f 2f 20 52 65 73 |...{....|..// Res|
|00002ce0| 65 74 20 74 68 65 20 64 | 61 74 61 72 65 63 74 20 |et the d|atarect |
|00002cf0| 74 6f 20 74 68 65 20 6c | 65 66 74 20 61 6e 64 20 |to the l|eft and |
|00002d00| 6d 6f 76 65 20 64 6f 77 | 6e 20 61 6e 64 20 6f 76 |move dow|n and ov|
|00002d10| 65 72 20 74 6f 20 74 68 | 65 20 50 61 72 61 6d 20 |er to th|e Param |
|00002d20| 4e 61 6d 65 20 63 6f 6c | 75 6d 6e 0d 09 09 09 09 |Name col|umn.....|
|00002d30| 09 53 65 74 52 65 63 74 | 28 26 44 61 74 61 52 65 |.SetRect|(&DataRe|
|00002d40| 63 74 2c 20 69 6e 49 6e | 66 6f 57 69 6e 2d 3e 48 |ct, inIn|foWin->H|
|00002d50| 65 61 64 65 72 50 61 6e | 65 2e 6c 65 66 74 2b 31 |eaderPan|e.left+1|
|00002d60| 2c 20 44 61 74 61 52 65 | 63 74 2e 74 6f 70 2c 20 |, DataRe|ct.top, |
|00002d70| 69 6e 49 6e 66 6f 57 69 | 6e 2d 3e 50 61 72 61 6d |inInfoWi|n->Param|
|00002d80| 50 61 6e 65 2e 6c 65 66 | 74 2d 31 2c 20 44 61 74 |Pane.lef|t-1, Dat|
|00002d90| 61 52 65 63 74 2e 62 6f | 74 74 6f 6d 29 3b 0d 09 |aRect.bo|ttom);..|
|00002da0| 09 09 09 09 4f 66 66 73 | 65 74 52 65 63 74 28 26 |....Offs|etRect(&|
|00002db0| 44 61 74 61 52 65 63 74 | 2c 20 30 2c 20 31 36 29 |DataRect|, 0, 16)|
|00002dc0| 3b 0d 09 09 09 09 0d 09 | 09 09 09 09 2f 2f 20 44 |;.......|....// D|
|00002dd0| 72 61 77 20 6e 61 6d 65 | 20 61 6e 64 20 74 79 70 |raw name| and typ|
|00002de0| 65 0d 09 09 09 09 09 44 | 72 61 77 50 61 72 61 6d |e......D|rawParam|
|00002df0| 4e 61 6d 65 28 4d 65 74 | 68 6f 64 50 2d 3e 50 61 |Name(Met|hodP->Pa|
|00002e00| 72 61 6d 73 5b 6a 5d 2e | 4e 61 6d 65 2c 20 26 44 |rams[j].|Name, &D|
|00002e10| 61 74 61 52 65 63 74 29 | 3b 0d 09 09 09 09 09 44 |ataRect)|;......D|
|00002e20| 72 61 77 54 79 70 65 28 | 4d 65 74 68 6f 64 50 2d |rawType(|MethodP-|
|00002e30| 3e 50 61 72 61 6d 73 5b | 6a 5d 2e 54 79 70 65 2c |>Params[|j].Type,|
|00002e40| 20 26 44 61 74 61 52 65 | 63 74 29 3b 0d 09 09 09 | &DataRe|ct);....|
|00002e50| 09 7d 0d 09 09 09 7d 0d | 09 09 7d 0d 09 09 0d 09 |.}....}.|..}.....|
|00002e60| 09 2f 2f 20 52 65 73 65 | 74 20 74 68 65 20 64 61 |.// Rese|t the da|
|00002e70| 74 61 72 65 63 74 20 74 | 6f 20 74 68 65 20 6c 65 |tarect t|o the le|
|00002e80| 66 74 20 61 6e 64 20 6d | 6f 76 65 20 64 6f 77 6e |ft and m|ove down|
|00002e90| 0d 09 09 53 65 74 52 65 | 63 74 28 26 44 61 74 61 |...SetRe|ct(&Data|
|00002ea0| 52 65 63 74 2c 20 69 6e | 49 6e 66 6f 57 69 6e 2d |Rect, in|InfoWin-|
|00002eb0| 3e 48 65 61 64 65 72 50 | 61 6e 65 2e 6c 65 66 74 |>HeaderP|ane.left|
|00002ec0| 2b 31 2c 20 44 61 74 61 | 52 65 63 74 2e 74 6f 70 |+1, Data|Rect.top|
|00002ed0| 2c 20 69 6e 49 6e 66 6f | 57 69 6e 2d 3e 50 61 72 |, inInfo|Win->Par|
|00002ee0| 61 6d 50 61 6e 65 2e 6c | 65 66 74 2d 31 2c 20 44 |amPane.l|eft-1, D|
|00002ef0| 61 74 61 52 65 63 74 2e | 62 6f 74 74 6f 6d 29 3b |ataRect.|bottom);|
|00002f00| 0d 09 09 4f 66 66 73 65 | 74 52 65 63 74 28 26 44 |...Offse|tRect(&D|
|00002f10| 61 74 61 52 65 63 74 2c | 20 30 2c 20 31 36 29 3b |ataRect,| 0, 16);|
|00002f20| 0d 09 7d 0d 7d 0d 0d 2f | 2f 0d 2f 2f 09 44 72 61 |..}.}../|/.//.Dra|
|00002f30| 77 50 61 72 61 6d 4e 61 | 6d 65 20 0d 2f 2f 0d 76 |wParamNa|me .//.v|
|00002f40| 6f 69 64 20 44 72 61 77 | 50 61 72 61 6d 4e 61 6d |oid Draw|ParamNam|
|00002f50| 65 28 53 74 72 32 35 35 | 20 69 6e 4e 61 6d 65 2c |e(Str255| inName,|
|00002f60| 20 52 65 63 74 2a 20 69 | 6f 52 65 63 74 29 0d 7b | Rect* i|oRect).{|
|00002f70| 0d 09 4f 66 66 73 65 74 | 52 65 63 74 28 69 6f 52 |..Offset|Rect(ioR|
|00002f80| 65 63 74 2c 20 31 30 30 | 2c 20 30 29 3b 0d 09 54 |ect, 100|, 0);..T|
|00002f90| 45 54 65 78 74 42 6f 78 | 28 26 69 6e 4e 61 6d 65 |ETextBox|(&inName|
|00002fa0| 5b 31 5d 2c 20 69 6e 4e | 61 6d 65 5b 30 5d 2c 20 |[1], inN|ame[0], |
|00002fb0| 69 6f 52 65 63 74 2c 20 | 74 65 46 6c 75 73 68 4c |ioRect, |teFlushL|
|00002fc0| 65 66 74 29 3b 0d 7d 0d | 0d 2f 2f 0d 2f 2f 09 44 |eft);.}.|.//.//.D|
|00002fd0| 72 61 77 54 79 70 65 20 | 0d 2f 2f 0d 76 6f 69 64 |rawType |.//.void|
|00002fe0| 20 44 72 61 77 54 79 70 | 65 28 56 41 52 54 59 50 | DrawTyp|e(VARTYP|
|00002ff0| 45 20 69 6e 54 79 70 65 | 2c 20 52 65 63 74 2a 20 |E inType|, Rect* |
|00003000| 69 6f 52 65 63 74 29 0d | 7b 0d 09 53 74 72 33 31 |ioRect).|{..Str31|
|00003010| 20 54 65 6d 70 53 74 72 | 3b 0d 09 0d 09 2f 2f 20 | TempStr|;....// |
|00003020| 44 72 61 77 20 74 68 65 | 20 74 79 70 65 0d 09 4f |Draw the| type..O|
|00003030| 66 66 73 65 74 52 65 63 | 74 28 69 6f 52 65 63 74 |ffsetRec|t(ioRect|
|00003040| 2c 20 31 30 30 2c 20 30 | 29 3b 0d 09 56 61 72 54 |, 100, 0|);..VarT|
|00003050| 79 70 65 54 6f 4e 61 6d | 65 28 69 6e 54 79 70 65 |ypeToNam|e(inType|
|00003060| 2c 20 54 65 6d 70 53 74 | 72 29 3b 0d 09 54 45 54 |, TempSt|r);..TET|
|00003070| 65 78 74 42 6f 78 28 26 | 54 65 6d 70 53 74 72 5b |extBox(&|TempStr[|
|00003080| 31 5d 2c 20 54 65 6d 70 | 53 74 72 5b 30 5d 2c 20 |1], Temp|Str[0], |
|00003090| 69 6f 52 65 63 74 2c 20 | 74 65 46 6c 75 73 68 4c |ioRect, |teFlushL|
|000030a0| 65 66 74 29 3b 0d 7d 0d | 0d 2f 2f 0d 2f 2f 09 44 |eft);.}.|.//.//.D|
|000030b0| 72 61 77 44 69 73 70 49 | 44 20 0d 2f 2f 0d 76 6f |rawDispI|D .//.vo|
|000030c0| 69 64 20 44 72 61 77 44 | 69 73 70 49 44 28 44 49 |id DrawD|ispID(DI|
|000030d0| 53 50 49 44 20 69 6e 44 | 69 73 70 49 44 2c 20 52 |SPID inD|ispID, R|
|000030e0| 65 63 74 2a 20 69 6f 52 | 65 63 74 29 0d 7b 0d 09 |ect* ioR|ect).{..|
|000030f0| 53 74 72 31 35 20 54 65 | 6d 70 53 74 72 3b 0d 09 |Str15 Te|mpStr;..|
|00003100| 0d 09 2f 2f 20 44 72 61 | 77 20 74 68 65 20 44 69 |..// Dra|w the Di|
|00003110| 73 70 49 44 0d 09 4f 66 | 66 73 65 74 52 65 63 74 |spID..Of|fsetRect|
|00003120| 28 69 6f 52 65 63 74 2c | 20 31 30 30 2c 20 30 29 |(ioRect,| 100, 0)|
|00003130| 3b 0d 09 4e 75 6d 54 6f | 53 74 72 69 6e 67 28 69 |;..NumTo|String(i|
|00003140| 6e 44 69 73 70 49 44 2c | 20 54 65 6d 70 53 74 72 |nDispID,| TempStr|
|00003150| 29 3b 0d 09 54 45 54 65 | 78 74 42 6f 78 28 26 54 |);..TETe|xtBox(&T|
|00003160| 65 6d 70 53 74 72 5b 31 | 5d 2c 20 54 65 6d 70 53 |empStr[1|], TempS|
|00003170| 74 72 5b 30 5d 2c 20 69 | 6f 52 65 63 74 2c 20 74 |tr[0], i|oRect, t|
|00003180| 65 46 6c 75 73 68 4c 65 | 66 74 29 3b 0d 7d 0d 0d |eFlushLe|ft);.}..|
|00003190| 0d 2f 2f 0d 2f 2f 09 44 | 72 61 77 54 69 74 6c 65 |.//.//.D|rawTitle|
|000031a0| 20 0d 2f 2f 0d 42 6f 6f | 6c 65 61 6e 20 44 72 61 | .//.Boo|lean Dra|
|000031b0| 77 54 69 74 6c 65 28 63 | 68 61 72 2a 20 69 6e 54 |wTitle(c|har* inT|
|000031c0| 69 74 6c 65 2c 20 52 65 | 63 74 2a 20 69 6f 52 65 |itle, Re|ct* ioRe|
|000031d0| 63 74 29 0d 7b 0d 09 54 | 65 78 74 46 61 63 65 28 |ct).{..T|extFace(|
|000031e0| 62 6f 6c 64 29 3b 0d 09 | 54 45 54 65 78 74 42 6f |bold);..|TETextBo|
|000031f0| 78 28 69 6e 54 69 74 6c | 65 2c 20 73 74 72 6c 65 |x(inTitl|e, strle|
|00003200| 6e 28 69 6e 54 69 74 6c | 65 29 2c 20 69 6f 52 65 |n(inTitl|e), ioRe|
|00003210| 63 74 2c 20 74 65 46 6c | 75 73 68 4c 65 66 74 29 |ct, teFl|ushLeft)|
|00003220| 3b 0d 09 54 65 78 74 46 | 61 63 65 28 30 29 3b 0d |;..TextF|ace(0);.|
|00003230| 09 4f 66 66 73 65 74 52 | 65 63 74 28 69 6f 52 65 |.OffsetR|ect(ioRe|
|00003240| 63 74 2c 20 30 2c 20 31 | 36 29 3b 0d 09 0d 09 72 |ct, 0, 1|6);....r|
|00003250| 65 74 75 72 6e 20 74 72 | 75 65 3b 0d 7d 0d 09 09 |eturn tr|ue;.}...|
|00003260| 0d 0d 2f 2f 0d 2f 2f 09 | 44 72 61 77 49 6e 66 6f |..//.//.|DrawInfo|
|00003270| 4c 61 62 65 6c 73 20 0d | 2f 2f 0d 76 6f 69 64 20 |Labels .|//.void |
|00003280| 44 72 61 77 49 6e 66 6f | 4c 61 62 65 6c 73 28 73 |DrawInfo|Labels(s|
|00003290| 49 6e 66 6f 57 69 6e 64 | 6f 77 2a 20 69 6e 49 6e |InfoWind|ow* inIn|
|000032a0| 66 6f 57 69 6e 29 0d 7b | 0d 09 73 68 6f 72 74 20 |foWin).{|..short |
|000032b0| 09 09 09 4f 6c 64 54 65 | 78 74 53 69 7a 65 20 3d |...OldTe|xtSize =|
|000032c0| 20 69 6e 49 6e 66 6f 57 | 69 6e 2d 3e 57 69 6e 64 | inInfoW|in->Wind|
|000032d0| 6f 77 2d 3e 74 78 53 69 | 7a 65 3b 0d 09 73 68 6f |ow->txSi|ze;..sho|
|000032e0| 72 74 09 09 09 4f 6c 64 | 54 65 78 74 46 61 63 65 |rt...Old|TextFace|
|000032f0| 20 3d 20 69 6e 49 6e 66 | 6f 57 69 6e 2d 3e 57 69 | = inInf|oWin->Wi|
|00003300| 6e 64 6f 77 2d 3e 74 78 | 46 61 63 65 3b 0d 09 50 |ndow->tx|Face;..P|
|00003310| 65 6e 53 74 61 74 65 09 | 70 6e 53 74 61 74 65 3b |enState.|pnState;|
|00003320| 0d 09 50 61 74 48 61 6e | 64 6c 65 20 09 74 68 65 |..PatHan|dle .the|
|00003330| 50 61 74 74 65 72 6e 3b | 0d 09 0d 09 2f 2f 20 43 |Pattern;|....// C|
|00003340| 68 61 6e 67 65 20 74 68 | 65 20 74 65 78 74 20 73 |hange th|e text s|
|00003350| 65 74 74 69 6e 67 73 0d | 09 54 65 78 74 53 69 7a |ettings.|.TextSiz|
|00003360| 65 28 39 29 3b 0d 09 54 | 65 78 74 46 61 63 65 28 |e(9);..T|extFace(|
|00003370| 62 6f 6c 64 29 3b 0d 09 | 0d 09 2f 2f 20 2a 2a 2a |bold);..|..// ***|
|00003380| 2a 2a 2a 2a 2a 20 44 72 | 61 77 20 74 68 65 20 49 |***** Dr|aw the I|
|00003390| 6e 66 6f 20 50 61 6e 65 | 20 2a 2a 2a 2a 2a 2a 2a |nfo Pane| *******|
|000033a0| 2a 2a 2a 2a 20 2f 2f 0d | 09 0d 09 2f 2f 20 55 73 |**** //.|...// Us|
|000033b0| 65 72 4e 61 6d 65 0d 09 | 54 45 54 65 78 74 42 6f |erName..|TETextBo|
|000033c0| 78 28 69 6e 49 6e 66 6f | 57 69 6e 2d 3e 55 73 65 |x(inInfo|Win->Use|
|000033d0| 72 4e 61 6d 65 4c 61 62 | 65 6c 2c 20 73 74 72 6c |rNameLab|el, strl|
|000033e0| 65 6e 28 69 6e 49 6e 66 | 6f 57 69 6e 2d 3e 55 73 |en(inInf|oWin->Us|
|000033f0| 65 72 4e 61 6d 65 4c 61 | 62 65 6c 29 2c 20 26 69 |erNameLa|bel), &i|
|00003400| 6e 49 6e 66 6f 57 69 6e | 2d 3e 55 73 65 72 4e 61 |nInfoWin|->UserNa|
|00003410| 6d 65 4c 61 62 65 6c 50 | 61 6e 65 2c 20 74 65 46 |meLabelP|ane, teF|
|00003420| 6c 75 73 68 52 69 67 68 | 74 29 3b 0d 09 0d 09 2f |lushRigh|t);..../|
|00003430| 2f 20 43 6c 61 73 73 49 | 44 0d 09 54 45 54 65 78 |/ ClassI|D..TETex|
|00003440| 74 42 6f 78 28 69 6e 49 | 6e 66 6f 57 69 6e 2d 3e |tBox(inI|nfoWin->|
|00003450| 43 6c 61 73 73 49 44 4c | 61 62 65 6c 2c 20 73 74 |ClassIDL|abel, st|
|00003460| 72 6c 65 6e 28 69 6e 49 | 6e 66 6f 57 69 6e 2d 3e |rlen(inI|nfoWin->|
|00003470| 43 6c 61 73 73 49 44 4c | 61 62 65 6c 29 2c 20 26 |ClassIDL|abel), &|
|00003480| 69 6e 49 6e 66 6f 57 69 | 6e 2d 3e 43 6c 61 73 73 |inInfoWi|n->Class|
|00003490| 49 44 4c 61 62 65 6c 50 | 61 6e 65 2c 20 74 65 46 |IDLabelP|ane, teF|
|000034a0| 6c 75 73 68 52 69 67 68 | 74 29 3b 0d 0d 09 2f 2f |lushRigh|t);...//|
|000034b0| 20 46 72 61 67 4e 61 6d | 65 0d 09 54 45 54 65 78 | FragNam|e..TETex|
|000034c0| 74 42 6f 78 28 69 6e 49 | 6e 66 6f 57 69 6e 2d 3e |tBox(inI|nfoWin->|
|000034d0| 46 72 61 67 4e 61 6d 65 | 4c 61 62 65 6c 2c 20 73 |FragName|Label, s|
|000034e0| 74 72 6c 65 6e 28 69 6e | 49 6e 66 6f 57 69 6e 2d |trlen(in|InfoWin-|
|000034f0| 3e 46 72 61 67 4e 61 6d | 65 4c 61 62 65 6c 29 2c |>FragNam|eLabel),|
|00003500| 20 26 69 6e 49 6e 66 6f | 57 69 6e 2d 3e 46 72 61 | &inInfo|Win->Fra|
|00003510| 67 4e 61 6d 65 4c 61 62 | 65 6c 50 61 6e 65 2c 20 |gNameLab|elPane, |
|00003520| 74 65 46 6c 75 73 68 52 | 69 67 68 74 29 3b 0d 0d |teFlushR|ight);..|
|00003530| 09 2f 2f 20 50 72 6f 67 | 49 44 0d 09 54 45 54 65 |.// Prog|ID..TETe|
|00003540| 78 74 42 6f 78 28 69 6e | 49 6e 66 6f 57 69 6e 2d |xtBox(in|InfoWin-|
|00003550| 3e 50 72 6f 67 49 44 4c | 61 62 65 6c 2c 20 73 74 |>ProgIDL|abel, st|
|00003560| 72 6c 65 6e 28 69 6e 49 | 6e 66 6f 57 69 6e 2d 3e |rlen(inI|nfoWin->|
|00003570| 50 72 6f 67 49 44 4c 61 | 62 65 6c 29 2c 20 26 69 |ProgIDLa|bel), &i|
|00003580| 6e 49 6e 66 6f 57 69 6e | 2d 3e 50 72 6f 67 49 44 |nInfoWin|->ProgID|
|00003590| 4c 61 62 65 6c 50 61 6e | 65 2c 20 74 65 46 6c 75 |LabelPan|e, teFlu|
|000035a0| 73 68 52 69 67 68 74 29 | 3b 0d 0d 09 2f 2f 20 48 |shRight)|;...// H|
|000035b0| 65 69 67 68 74 0d 09 54 | 45 54 65 78 74 42 6f 78 |eight..T|ETextBox|
|000035c0| 28 69 6e 49 6e 66 6f 57 | 69 6e 2d 3e 48 65 69 67 |(inInfoW|in->Heig|
|000035d0| 68 74 4c 61 62 65 6c 2c | 20 73 74 72 6c 65 6e 28 |htLabel,| strlen(|
|000035e0| 69 6e 49 6e 66 6f 57 69 | 6e 2d 3e 48 65 69 67 68 |inInfoWi|n->Heigh|
|000035f0| 74 4c 61 62 65 6c 29 2c | 20 26 69 6e 49 6e 66 6f |tLabel),| &inInfo|
|00003600| 57 69 6e 2d 3e 48 65 69 | 67 68 74 4c 61 62 65 6c |Win->Hei|ghtLabel|
|00003610| 50 61 6e 65 2c 20 74 65 | 46 6c 75 73 68 52 69 67 |Pane, te|FlushRig|
|00003620| 68 74 29 3b 0d 0d 09 2f | 2f 20 57 69 64 74 68 0d |ht);.../|/ Width.|
|00003630| 09 54 45 54 65 78 74 42 | 6f 78 28 69 6e 49 6e 66 |.TETextB|ox(inInf|
|00003640| 6f 57 69 6e 2d 3e 57 69 | 64 74 68 4c 61 62 65 6c |oWin->Wi|dthLabel|
|00003650| 2c 20 73 74 72 6c 65 6e | 28 69 6e 49 6e 66 6f 57 |, strlen|(inInfoW|
|00003660| 69 6e 2d 3e 57 69 64 74 | 68 4c 61 62 65 6c 29 2c |in->Widt|hLabel),|
|00003670| 20 26 69 6e 49 6e 66 6f | 57 69 6e 2d 3e 57 69 64 | &inInfo|Win->Wid|
|00003680| 74 68 4c 61 62 65 6c 50 | 61 6e 65 2c 20 74 65 46 |thLabelP|ane, teF|
|00003690| 6c 75 73 68 52 69 67 68 | 74 29 3b 0d 09 0d 09 0d |lushRigh|t);.....|
|000036a0| 09 2f 2f 20 2a 2a 2a 2a | 2a 2a 2a 20 44 72 61 77 |.// ****|*** Draw|
|000036b0| 20 74 68 65 20 48 65 61 | 64 65 72 20 50 61 6e 65 | the Hea|der Pane|
|000036c0| 20 2a 2a 2a 2a 2a 2a 2a | 2a 2a 20 2f 2f 0d 09 54 | *******|** //..T|
|000036d0| 45 54 65 78 74 42 6f 78 | 28 69 6e 49 6e 66 6f 57 |ETextBox|(inInfoW|
|000036e0| 69 6e 2d 3e 50 61 72 61 | 6d 4c 61 62 65 6c 2c 20 |in->Para|mLabel, |
|000036f0| 73 74 72 6c 65 6e 28 69 | 6e 49 6e 66 6f 57 69 6e |strlen(i|nInfoWin|
|00003700| 2d 3e 50 61 72 61 6d 4c | 61 62 65 6c 29 2c 20 26 |->ParamL|abel), &|
|00003710| 69 6e 49 6e 66 6f 57 69 | 6e 2d 3e 50 61 72 61 6d |inInfoWi|n->Param|
|00003720| 4c 61 62 65 6c 50 61 6e | 65 2c 20 74 65 46 6c 75 |LabelPan|e, teFlu|
|00003730| 73 68 4c 65 66 74 29 3b | 0d 09 54 45 54 65 78 74 |shLeft);|..TEText|
|00003740| 42 6f 78 28 69 6e 49 6e | 66 6f 57 69 6e 2d 3e 54 |Box(inIn|foWin->T|
|00003750| 79 70 65 4c 61 62 65 6c | 2c 20 73 74 72 6c 65 6e |ypeLabel|, strlen|
|00003760| 28 69 6e 49 6e 66 6f 57 | 69 6e 2d 3e 54 79 70 65 |(inInfoW|in->Type|
|00003770| 4c 61 62 65 6c 29 2c 20 | 26 69 6e 49 6e 66 6f 57 |Label), |&inInfoW|
|00003780| 69 6e 2d 3e 54 79 70 65 | 4c 61 62 65 6c 50 61 6e |in->Type|LabelPan|
|00003790| 65 2c 20 74 65 46 6c 75 | 73 68 4c 65 66 74 29 3b |e, teFlu|shLeft);|
|000037a0| 0d 09 54 45 54 65 78 74 | 42 6f 78 28 69 6e 49 6e |..TEText|Box(inIn|
|000037b0| 66 6f 57 69 6e 2d 3e 44 | 69 73 70 49 44 4c 61 62 |foWin->D|ispIDLab|
|000037c0| 65 6c 2c 20 73 74 72 6c | 65 6e 28 69 6e 49 6e 66 |el, strl|en(inInf|
|000037d0| 6f 57 69 6e 2d 3e 44 69 | 73 70 49 44 4c 61 62 65 |oWin->Di|spIDLabe|
|000037e0| 6c 29 2c 20 26 69 6e 49 | 6e 66 6f 57 69 6e 2d 3e |l), &inI|nfoWin->|
|000037f0| 44 69 73 70 49 44 4c 61 | 62 65 6c 50 61 6e 65 2c |DispIDLa|belPane,|
|00003800| 20 74 65 46 6c 75 73 68 | 4c 65 66 74 29 3b 0d 09 | teFlush|Left);..|
|00003810| 54 45 54 65 78 74 42 6f | 78 28 69 6e 49 6e 66 6f |TETextBo|x(inInfo|
|00003820| 57 69 6e 2d 3e 52 65 74 | 75 72 6e 54 79 70 65 4c |Win->Ret|urnTypeL|
|00003830| 61 62 65 6c 2c 20 73 74 | 72 6c 65 6e 28 69 6e 49 |abel, st|rlen(inI|
|00003840| 6e 66 6f 57 69 6e 2d 3e | 52 65 74 75 72 6e 54 79 |nfoWin->|ReturnTy|
|00003850| 70 65 4c 61 62 65 6c 29 | 2c 20 26 69 6e 49 6e 66 |peLabel)|, &inInf|
|00003860| 6f 57 69 6e 2d 3e 52 65 | 74 75 72 6e 54 79 70 65 |oWin->Re|turnType|
|00003870| 4c 61 62 65 6c 50 61 6e | 65 2c 20 74 65 46 6c 75 |LabelPan|e, teFlu|
|00003880| 73 68 4c 65 66 74 29 3b | 0d 09 0d 09 2f 2f 20 52 |shLeft);|....// R|
|00003890| 65 73 74 6f 72 65 20 74 | 68 65 20 74 65 78 74 20 |estore t|he text |
|000038a0| 73 65 74 74 69 6e 67 73 | 0d 09 54 65 78 74 53 69 |settings|..TextSi|
|000038b0| 7a 65 28 4f 6c 64 54 65 | 78 74 53 69 7a 65 29 3b |ze(OldTe|xtSize);|
|000038c0| 0d 09 54 65 78 74 46 61 | 63 65 28 4f 6c 64 54 65 |..TextFa|ce(OldTe|
|000038d0| 78 74 46 61 63 65 29 3b | 0d 09 0d 09 2f 2f 20 2a |xtFace);|....// *|
|000038e0| 2a 2a 20 46 72 61 6d 65 | 20 74 68 65 20 70 61 6e |** Frame| the pan|
|000038f0| 65 73 20 2a 2a 2a 20 2f | 2f 0d 09 0d 09 2f 2f 20 |es *** /|/....// |
|00003900| 49 6e 66 6f 50 61 6e 65 | 0d 09 4d 6f 76 65 54 6f |InfoPane|..MoveTo|
|00003910| 28 30 2c 20 69 6e 49 6e | 66 6f 57 69 6e 2d 3e 49 |(0, inIn|foWin->I|
|00003920| 6e 66 6f 50 61 6e 65 2e | 62 6f 74 74 6f 6d 29 3b |nfoPane.|bottom);|
|00003930| 0d 09 4c 69 6e 65 54 6f | 28 69 6e 49 6e 66 6f 57 |..LineTo|(inInfoW|
|00003940| 69 6e 2d 3e 49 6e 66 6f | 50 61 6e 65 2e 72 69 67 |in->Info|Pane.rig|
|00003950| 68 74 2c 20 69 6e 49 6e | 66 6f 57 69 6e 2d 3e 49 |ht, inIn|foWin->I|
|00003960| 6e 66 6f 50 61 6e 65 2e | 62 6f 74 74 6f 6d 29 3b |nfoPane.|bottom);|
|00003970| 0d 09 0d 09 2f 2f 20 48 | 65 61 64 65 72 20 50 61 |....// H|eader Pa|
|00003980| 6e 65 0d 09 4d 6f 76 65 | 54 6f 28 30 2c 20 69 6e |ne..Move|To(0, in|
|00003990| 49 6e 66 6f 57 69 6e 2d | 3e 48 65 61 64 65 72 50 |InfoWin-|>HeaderP|
|000039a0| 61 6e 65 2e 62 6f 74 74 | 6f 6d 29 3b 0d 09 4c 69 |ane.bott|om);..Li|
|000039b0| 6e 65 54 6f 28 69 6e 49 | 6e 66 6f 57 69 6e 2d 3e |neTo(inI|nfoWin->|
|000039c0| 48 65 61 64 65 72 50 61 | 6e 65 2e 72 69 67 68 74 |HeaderPa|ne.right|
|000039d0| 2c 20 69 6e 49 6e 66 6f | 57 69 6e 2d 3e 48 65 61 |, inInfo|Win->Hea|
|000039e0| 64 65 72 50 61 6e 65 2e | 62 6f 74 74 6f 6d 29 3b |derPane.|bottom);|
|000039f0| 0d 09 0d 09 2f 2f 20 2a | 2a 2a 2a 20 53 65 70 61 |....// *|*** Sepa|
|00003a00| 72 61 74 6f 72 20 6c 69 | 6e 65 73 20 2a 2a 2a 2a |rator li|nes ****|
|00003a10| 20 2f 2f 0d 09 0d 09 2f | 2f 20 53 61 76 65 20 6f | //..../|/ Save o|
|00003a20| 66 66 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 70 |ff the c|urrent p|
|00003a30| 65 6e 20 73 74 61 74 65 | 0d 09 47 65 74 50 65 6e |en state|..GetPen|
|00003a40| 53 74 61 74 65 28 26 70 | 6e 53 74 61 74 65 29 3b |State(&p|nState);|
|00003a50| 0d 0d 09 2f 2f 20 47 65 | 74 20 74 68 65 20 67 72 |...// Ge|t the gr|
|00003a60| 65 79 20 70 61 74 74 65 | 72 6e 20 72 65 73 6f 75 |ey patte|rn resou|
|00003a70| 72 63 65 0d 09 74 68 65 | 50 61 74 74 65 72 6e 20 |rce..the|Pattern |
|00003a80| 3d 20 47 65 74 50 61 74 | 74 65 72 6e 28 31 32 38 |= GetPat|tern(128|
|00003a90| 29 3b 0d 0d 09 2f 2f 20 | 55 73 65 20 74 68 65 20 |);...// |Use the |
|00003aa0| 67 72 65 79 20 70 65 6e | 20 70 61 74 74 65 72 6e |grey pen| pattern|
|00003ab0| 0d 09 50 65 6e 50 61 74 | 28 2a 74 68 65 50 61 74 |..PenPat|(*thePat|
|00003ac0| 74 65 72 6e 29 3b 0d 09 | 0d 09 2f 2f 20 44 72 61 |tern);..|..// Dra|
|00003ad0| 77 20 74 68 65 20 73 65 | 70 61 72 61 74 6f 72 73 |w the se|parators|
|00003ae0| 0d 09 4d 6f 76 65 54 6f | 28 69 6e 49 6e 66 6f 57 |..MoveTo|(inInfoW|
|00003af0| 69 6e 2d 3e 50 61 72 61 | 6d 50 61 6e 65 2e 6c 65 |in->Para|mPane.le|
|00003b00| 66 74 2c 20 69 6e 49 6e | 66 6f 57 69 6e 2d 3e 50 |ft, inIn|foWin->P|
|00003b10| 61 72 61 6d 50 61 6e 65 | 2e 74 6f 70 29 3b 0d 09 |aramPane|.top);..|
|00003b20| 4c 69 6e 65 54 6f 28 69 | 6e 49 6e 66 6f 57 69 6e |LineTo(i|nInfoWin|
|00003b30| 2d 3e 50 61 72 61 6d 50 | 61 6e 65 2e 6c 65 66 74 |->ParamP|ane.left|
|00003b40| 2c 20 69 6e 49 6e 66 6f | 57 69 6e 2d 3e 44 65 73 |, inInfo|Win->Des|
|00003b50| 63 50 61 6e 65 2e 62 6f | 74 74 6f 6d 29 3b 0d 09 |cPane.bo|ttom);..|
|00003b60| 4d 6f 76 65 54 6f 28 69 | 6e 49 6e 66 6f 57 69 6e |MoveTo(i|nInfoWin|
|00003b70| 2d 3e 54 79 70 65 50 61 | 6e 65 2e 6c 65 66 74 2c |->TypePa|ne.left,|
|00003b80| 20 69 6e 49 6e 66 6f 57 | 69 6e 2d 3e 54 79 70 65 | inInfoW|in->Type|
|00003b90| 50 61 6e 65 2e 74 6f 70 | 29 3b 0d 09 4c 69 6e 65 |Pane.top|);..Line|
|00003ba0| 54 6f 28 69 6e 49 6e 66 | 6f 57 69 6e 2d 3e 54 79 |To(inInf|oWin->Ty|
|00003bb0| 70 65 50 61 6e 65 2e 6c | 65 66 74 2c 20 69 6e 49 |pePane.l|eft, inI|
|00003bc0| 6e 66 6f 57 69 6e 2d 3e | 44 65 73 63 50 61 6e 65 |nfoWin->|DescPane|
|00003bd0| 2e 62 6f 74 74 6f 6d 29 | 3b 0d 09 4d 6f 76 65 54 |.bottom)|;..MoveT|
|00003be0| 6f 28 69 6e 49 6e 66 6f | 57 69 6e 2d 3e 44 69 73 |o(inInfo|Win->Dis|
|00003bf0| 70 49 44 50 61 6e 65 2e | 6c 65 66 74 2c 20 69 6e |pIDPane.|left, in|
|00003c00| 49 6e 66 6f 57 69 6e 2d | 3e 44 69 73 70 49 44 50 |InfoWin-|>DispIDP|
|00003c10| 61 6e 65 2e 74 6f 70 29 | 3b 0d 09 4c 69 6e 65 54 |ane.top)|;..LineT|
|00003c20| 6f 28 69 6e 49 6e 66 6f | 57 69 6e 2d 3e 44 69 73 |o(inInfo|Win->Dis|
|00003c30| 70 49 44 50 61 6e 65 2e | 6c 65 66 74 2c 20 69 6e |pIDPane.|left, in|
|00003c40| 49 6e 66 6f 57 69 6e 2d | 3e 44 65 73 63 50 61 6e |InfoWin-|>DescPan|
|00003c50| 65 2e 62 6f 74 74 6f 6d | 29 3b 0d 09 4d 6f 76 65 |e.bottom|);..Move|
|00003c60| 54 6f 28 69 6e 49 6e 66 | 6f 57 69 6e 2d 3e 52 65 |To(inInf|oWin->Re|
|00003c70| 74 75 72 6e 54 79 70 65 | 50 61 6e 65 2e 6c 65 66 |turnType|Pane.lef|
|00003c80| 74 2c 20 69 6e 49 6e 66 | 6f 57 69 6e 2d 3e 52 65 |t, inInf|oWin->Re|
|00003c90| 74 75 72 6e 54 79 70 65 | 50 61 6e 65 2e 74 6f 70 |turnType|Pane.top|
|00003ca0| 29 3b 0d 09 4c 69 6e 65 | 54 6f 28 69 6e 49 6e 66 |);..Line|To(inInf|
|00003cb0| 6f 57 69 6e 2d 3e 52 65 | 74 75 72 6e 54 79 70 65 |oWin->Re|turnType|
|00003cc0| 50 61 6e 65 2e 6c 65 66 | 74 2c 20 69 6e 49 6e 66 |Pane.lef|t, inInf|
|00003cd0| 6f 57 69 6e 2d 3e 44 65 | 73 63 50 61 6e 65 2e 62 |oWin->De|scPane.b|
|00003ce0| 6f 74 74 6f 6d 29 3b 0d | 0d 09 2f 2f 20 52 65 73 |ottom);.|..// Res|
|00003cf0| 74 6f 72 65 20 74 68 65 | 20 70 65 6e 20 73 74 61 |tore the| pen sta|
|00003d00| 74 65 0d 09 53 65 74 50 | 65 6e 53 74 61 74 65 28 |te..SetP|enState(|
|00003d10| 26 70 6e 53 74 61 74 65 | 29 3b 0d 7d 0d 0d 2f 2f |&pnState|);.}..//|
|00003d20| 0d 2f 2f 09 53 65 74 49 | 6e 66 6f 53 69 74 65 49 |.//.SetI|nfoSiteI|
|00003d30| 44 20 0d 2f 2f 0d 76 6f | 69 64 20 53 65 74 49 6e |D .//.vo|id SetIn|
|00003d40| 66 6f 53 69 74 65 49 44 | 28 57 69 6e 64 6f 77 50 |foSiteID|(WindowP|
|00003d50| 74 72 20 69 6e 57 69 6e | 64 6f 77 2c 20 41 58 52 |tr inWin|dow, AXR|
|00003d60| 65 66 49 44 20 69 6e 53 | 69 74 65 49 44 29 0d 7b |efID inS|iteID).{|
|00003d70| 0d 09 73 49 6e 66 6f 57 | 69 6e 64 6f 77 2a 09 49 |..sInfoW|indow*.I|
|00003d80| 6e 66 6f 57 69 6e 50 20 | 3d 20 28 73 49 6e 66 6f |nfoWinP |= (sInfo|
|00003d90| 57 69 6e 64 6f 77 2a 29 | 20 47 65 74 57 52 65 66 |Window*)| GetWRef|
|00003da0| 43 6f 6e 28 69 6e 57 69 | 6e 64 6f 77 29 3b 0d 09 |Con(inWi|ndow);..|
|00003db0| 0d 09 69 66 20 28 20 69 | 6e 53 69 74 65 49 44 20 |..if ( i|nSiteID |
|00003dc0| 21 3d 20 49 6e 66 6f 57 | 69 6e 50 2d 3e 53 69 74 |!= InfoW|inP->Sit|
|00003dd0| 65 49 44 20 29 0d 09 7b | 0d 09 09 49 6e 66 6f 57 |eID )..{|...InfoW|
|00003de0| 69 6e 50 2d 3e 53 69 74 | 65 49 44 20 3d 20 69 6e |inP->Sit|eID = in|
|00003df0| 53 69 74 65 49 44 3b 0d | 09 09 0d 09 09 49 6e 69 |SiteID;.|.....Ini|
|00003e00| 74 57 69 6e 64 6f 77 44 | 61 74 61 28 69 6e 53 69 |tWindowD|ata(inSi|
|00003e10| 74 65 49 44 29 3b 0d 09 | 09 0d 09 09 45 72 61 73 |teID);..|....Eras|
|00003e20| 65 52 65 63 74 28 26 69 | 6e 57 69 6e 64 6f 77 2d |eRect(&i|nWindow-|
|00003e30| 3e 70 6f 72 74 52 65 63 | 74 29 3b 0d 09 09 49 6e |>portRec|t);...In|
|00003e40| 76 61 6c 52 65 63 74 28 | 26 69 6e 57 69 6e 64 6f |valRect(|&inWindo|
|00003e50| 77 2d 3e 70 6f 72 74 52 | 65 63 74 29 3b 0d 09 09 |w->portR|ect);...|
|00003e60| 0d 09 09 53 65 74 49 6e | 66 6f 4e 61 6d 65 28 49 |...SetIn|foName(I|
|00003e70| 6e 66 6f 57 69 6e 50 29 | 3b 0d 09 7d 0d 7d 0d 0d |nfoWinP)|;..}.}..|
|00003e80| 2f 2f 0d 2f 2f 09 53 65 | 74 49 6e 66 6f 4e 61 6d |//.//.Se|tInfoNam|
|00003e90| 65 20 0d 2f 2f 0d 76 6f | 69 64 20 53 65 74 49 6e |e .//.vo|id SetIn|
|00003ea0| 66 6f 4e 61 6d 65 28 73 | 49 6e 66 6f 57 69 6e 64 |foName(s|InfoWind|
|00003eb0| 6f 77 2a 20 49 6e 66 6f | 57 69 6e 50 29 0d 7b 0d |ow* Info|WinP).{.|
|00003ec0| 09 63 68 61 72 09 55 73 | 65 72 4e 61 6d 65 5b 36 |.char.Us|erName[6|
|00003ed0| 34 5d 3b 0d 09 63 68 61 | 72 09 54 69 74 6c 65 5b |4];..cha|r.Title[|
|00003ee0| 36 34 5d 20 3d 20 22 4f | 62 6a 65 63 74 20 49 6e |64] = "O|bject In|
|00003ef0| 66 6f 72 6d 61 74 69 6f | 6e 22 3b 0d 09 0d 09 69 |formatio|n";....i|
|00003f00| 66 20 28 20 49 6e 66 6f | 57 69 6e 50 2d 3e 53 69 |f ( Info|WinP->Si|
|00003f10| 74 65 49 44 20 21 3d 20 | 30 20 29 0d 09 7b 0d 09 |teID != |0 )..{..|
|00003f20| 09 41 58 45 72 72 6f 72 | 43 6f 64 65 20 65 72 72 |.AXError|Code err|
|00003f30| 20 3d 20 41 58 5f 47 65 | 74 49 44 53 74 72 69 6e | = AX_Ge|tIDStrin|
|00003f40| 67 28 49 6e 66 6f 57 69 | 6e 50 2d 3e 53 69 74 65 |g(InfoWi|nP->Site|
|00003f50| 49 44 2c 20 30 2c 20 6b | 41 58 55 73 65 72 4e 61 |ID, 0, k|AXUserNa|
|00003f60| 6d 65 2c 20 36 34 2c 20 | 55 73 65 72 4e 61 6d 65 |me, 64, |UserName|
|00003f70| 29 3b 0d 09 09 69 66 20 | 28 20 65 72 72 20 3d 3d |);...if |( err ==|
|00003f80| 20 6b 41 58 4e 6f 45 72 | 72 20 29 0d 09 09 7b 0d | kAXNoEr|r )...{.|
|00003f90| 09 09 09 73 74 72 63 61 | 74 28 54 69 74 6c 65 2c |...strca|t(Title,|
|00003fa0| 20 22 20 66 6f 72 20 22 | 29 3b 0d 09 09 09 73 74 | " for "|);....st|
|00003fb0| 72 63 61 74 28 54 69 74 | 6c 65 2c 20 55 73 65 72 |rcat(Tit|le, User|
|00003fc0| 4e 61 6d 65 29 3b 09 0d | 09 09 7d 0d 09 7d 0d 09 |Name);..|..}..}..|
|00003fd0| 0d 09 53 65 74 57 54 69 | 74 6c 65 28 49 6e 66 6f |..SetWTi|tle(Info|
|00003fe0| 57 69 6e 50 2d 3e 57 69 | 6e 64 6f 77 2c 20 43 74 |WinP->Wi|ndow, Ct|
|00003ff0| 6f 50 73 74 72 28 54 69 | 74 6c 65 29 29 3b 0d 7d |oPstr(Ti|tle));.}|
|00004000| 0d 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004080| 00 00 01 00 00 00 01 5a | 00 00 00 5a 00 00 00 52 |.......Z|...Z...R|
|00004090| 28 57 68 69 63 68 44 6f | 63 75 6d 65 6e 74 2d 3e |(WhichDo|cument->|
|000040a0| 57 69 6e 64 6f 77 29 3b | 0d 09 09 47 6c 6f 62 61 |Window);|...Globa|
|000040b0| 0f 4f 62 6a 65 63 74 49 | 6e 66 6f 57 69 6e 2e 63 |.ObjectI|nfoWin.c|
|000040c0| 02 00 00 00 50 61 72 74 | 53 49 54 21 00 00 00 00 |....Part|SIT!....|
|000040d0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|000040e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040f0| 00 00 b0 56 8e 37 00 00 | 00 00 00 00 01 ac 20 69 |...V.7..|...... i|
|00004100| 6e 20 63 61 73 65 20 6f | 66 20 6f 76 65 72 6c 61 |n case o|f overla|
|00004110| 70 29 0d 09 09 66 6f 72 | 20 28 57 68 69 63 68 46 |p)...for| (WhichF|
|00004120| 69 67 75 72 65 20 3d 20 | 57 68 69 63 68 44 6f 63 |igure = |WhichDoc|
|00004130| 75 6d 65 6e 74 2d 3e 46 | 69 67 75 72 65 73 3b 20 |ument->F|igures; |
|00004140| 57 68 69 63 68 46 69 67 | 75 72 65 3b 20 57 68 69 |WhichFig|ure; Whi|
|00004150| 63 68 46 69 67 75 72 65 | 20 3d 20 57 68 69 63 68 |chFigure| = Which|
|00004160| 46 69 67 75 72 65 2d 3e | 4e 65 78 74 46 69 67 75 |Figure->|NextFigu|
|00004170| 72 65 29 0d 09 09 7b 0d | 09 09 09 69 66 20 28 50 |re)...{.|...if (P|
|00004180| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00004190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041a0| 00 00 00 00 00 00 00 03 | 00 04 00 5f 01 5a 03 8e |........|..._.Z..|
|000041b0| 04 59 00 5f 01 5a 03 8e | 04 59 b0 0b b7 a6 00 00 |.Y._.Z..|.Y......|
|000041c0| 17 e3 00 00 17 e3 00 00 | 11 85 01 00 00 00 00 02 |........|........|
|000041d0| 00 00 00 00 00 04 00 01 | 00 01 00 00 01 00 00 00 |........|........|
|000041e0| 01 5a 00 00 00 5a 00 00 | 00 52 03 89 6c 38 23 a0 |.Z...Z..|.R..l8#.|
|000041f0| 00 00 00 1c 00 52 00 01 | 4d 50 53 52 00 01 00 12 |.....R..|MPSR....|
|00004200| 4d 57 42 42 00 00 00 2a | 03 ed ff ff 00 00 00 00 |MWBB...*|........|
|00004210| 00 00 00 00 03 ef ff ff | 00 00 00 4c 00 00 00 00 |........|...L....|
|00004220| 03 f0 ff ff 00 00 00 52 | 00 00 00 00 00 00 00 00 |.......R|........|
|00004230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+